packages: nagios-plugin-check_fibrealliance/check_fibrealliance.sh - do not...

glen glen at pld-linux.org
Tue Dec 27 12:44:04 CET 2011


Author: glen                         Date: Tue Dec 27 11:44:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do not return OK in case of wrong usage

---- Files affected:
packages/nagios-plugin-check_fibrealliance:
   check_fibrealliance.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/nagios-plugin-check_fibrealliance/check_fibrealliance.sh
diff -u packages/nagios-plugin-check_fibrealliance/check_fibrealliance.sh:1.1 packages/nagios-plugin-check_fibrealliance/check_fibrealliance.sh:1.2
--- packages/nagios-plugin-check_fibrealliance/check_fibrealliance.sh:1.1	Tue Dec 27 12:42:27 2011
+++ packages/nagios-plugin-check_fibrealliance/check_fibrealliance.sh	Tue Dec 27 12:43:59 2011
@@ -50,7 +50,7 @@
 usage()
 {
 	echo "Usage: $0 -H host -C community -T status|sensors"
-	exit 0
+	exit 3
 }
 
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_fibrealliance/check_fibrealliance.sh?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list