diff options
Diffstat (limited to 'usr-lib-nagios-plugins/check_fs_ro.sh')
-rwxr-xr-x | usr-lib-nagios-plugins/check_fs_ro.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr-lib-nagios-plugins/check_fs_ro.sh b/usr-lib-nagios-plugins/check_fs_ro.sh index bed8083..1e33a25 100755 --- a/usr-lib-nagios-plugins/check_fs_ro.sh +++ b/usr-lib-nagios-plugins/check_fs_ro.sh @@ -54,7 +54,7 @@ main() rofs=`echo $fs | awk '{ print $2; }'` echo "CRITICAL: $rofs is a read-only filesystem." done - + if ! grep -E '^.*\ .*\ (ext.*|btrfs|xfs)\ ro,.*$' /proc/mounts 1>/dev/null; then echo "OK." else |