SOURCES: nagios-plugin-check_multipath.sh - cosmetics

glen glen at pld-linux.org
Thu Oct 25 00:36:13 CEST 2007


Author: glen                         Date: Wed Oct 24 22:36:13 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cosmetics

---- Files affected:
SOURCES:
   nagios-plugin-check_multipath.sh (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SOURCES/nagios-plugin-check_multipath.sh
diff -u SOURCES/nagios-plugin-check_multipath.sh:1.8 SOURCES/nagios-plugin-check_multipath.sh:1.9
--- SOURCES/nagios-plugin-check_multipath.sh:1.8	Thu Oct 25 00:35:31 2007
+++ SOURCES/nagios-plugin-check_multipath.sh	Thu Oct 25 00:36:08 2007
@@ -125,13 +125,13 @@
 		# The LUN line
 		# process if this is not first LUN
 		if (lun && numpaths != targets) {
-			printf("CRITICAL: %d of %d paths available for LUN %s\n", numpaths, targets, lun);
+			printf("CRITICAL: %d of %d paths available for LUN %s\n", numpaths, targets, lun)
 			rc = 1
 		}
 
 		# reset counter
-		targets=0
-		lun=$0
+		targets = 0
+		lun = $0
 	}
 	END { exit rc }
 	'
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/nagios-plugin-check_multipath.sh?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list