summaryrefslogtreecommitdiff
path: root/usr-lib-nagios-plugins/check_fs_ro.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-22 15:27:33 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-22 15:27:33 +0100
commit8c23653b156d86447572caef1a5dba8a5b3a45a5 (patch)
treeede43a6490fecb1d897d1ce7bce7ee61095c3c56 /usr-lib-nagios-plugins/check_fs_ro.sh
parentec5d6fc82d8c5c3a607f3937cefbf9aa1fba150b (diff)
downloaditzks-systems-8c23653b156d86447572caef1a5dba8a5b3a45a5.tar.gz
itzks-systems-8c23653b156d86447572caef1a5dba8a5b3a45a5.tar.bz2
itzks-systems-8c23653b156d86447572caef1a5dba8a5b3a45a5.zip
usr-lib-nagios-plugins: White-space cleanups.
Diffstat (limited to 'usr-lib-nagios-plugins/check_fs_ro.sh')
-rwxr-xr-xusr-lib-nagios-plugins/check_fs_ro.sh2
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