[nagiosplug] check_sensors: Minor whitespace fixes

Holger Weiss hweiss at users.sourceforge.net
Wed Sep 7 13:59:03 CEST 2011


 Module: nagiosplug
 Branch: master
 Commit: f720f4a3c002c939858afe6bdcdf4bc08929652b
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   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





More information about the Commits mailing list