From 8c23653b156d86447572caef1a5dba8a5b3a45a5 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 22 Feb 2017 15:27:33 +0100 Subject: usr-lib-nagios-plugins: White-space cleanups. --- usr-lib-nagios-plugins/check_fs_ro.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr-lib-nagios-plugins/check_fs_ro.sh') 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 -- cgit v1.2.3