[nagiosplug] check_sensors: Minor whitespace fixes
"Holger Weiss" <[email protected]> Wed, 7 Sep 2011 11:59:03 +0000
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagiosplug Branch: master Commit: f720f4a3c002c939858afe6bdcdf4bc08929652b Author: Holger Weiss <[email protected]> Date: Wed Sep 7 13:57:38 2011 +0200 URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=f720f4a check_sensors: Minor whitespace fixes --- 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 d108bcc..660b721 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 ------------------------------------------------------------------------------ Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/