diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2011-09-07 13:57:38 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2011-09-07 13:57:38 +0200 |
commit | f720f4a3c002c939858afe6bdcdf4bc08929652b (patch) | |
tree | 4a8932b5dd851b18b6bb9ea9584edd6221d029bf /plugins-scripts/check_sensors.sh | |
parent | 276c5b98bf619eabd8b0bd5fc3ff60c0a59489a7 (diff) | |
download | monitoring-plugins-f720f4a3c002c939858afe6bdcdf4bc08929652b.tar.gz |
check_sensors: Minor whitespace fixes
Diffstat (limited to 'plugins-scripts/check_sensors.sh')
-rwxr-xr-x | plugins-scripts/check_sensors.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index d108bcc8..660b7210 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh @@ -34,7 +34,7 @@ case "$1" in exit 0 ;; --version) - print_revision $PROGNAME $REVISION + print_revision $PROGNAME $REVISION exit 0 ;; -V) @@ -50,7 +50,7 @@ case "$1" in if test ${status} -eq 127; then echo "SENSORS UNKNOWN - command not found (did you install lmsensors?)" exit -1 - elif test ${status} -ne 0 ; then + elif test ${status} -ne 0; then echo "WARNING - sensors returned state $status" exit 1 fi |