[Nagiosplug-checkins] nagiosplug/plugins-scripts check_oracle.sh, 1.16, 1.17 check_log.sh, 1.8, 1.9 utils.sh.in, 1.3, 1.4

Matthias Eble psychotrahe at users.sourceforge.net
Sat Jul 7 13:40:32 CEST 2007


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12128

Modified Files:
	check_oracle.sh check_log.sh utils.sh.in 
Log Message:
Changed order in -V/--version output
Fixed -V output for check_log and check_oracle


Index: utils.sh.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/utils.sh.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- utils.sh.in	22 Mar 2006 12:59:36 -0000	1.3
+++ utils.sh.in	7 Jul 2007 11:40:29 -0000	1.4
@@ -13,7 +13,7 @@
 fi
 
 print_revision() {
-	echo "$1 (@PACKAGE@ @VERSION@) $2"
+	echo "$1 v$2 (@PACKAGE@ @VERSION@)"
 	$ECHO "@WARRANTY@" | sed -e 's/\n/ /g'
 }
 

Index: check_log.sh
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_log.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- check_log.sh	1 Feb 2007 05:33:07 -0000	1.8
+++ check_log.sh	7 Jul 2007 11:40:29 -0000	1.9
@@ -116,11 +116,11 @@
             exit $STATE_OK
             ;;
         --version)
-            print_revision $PROGNAME $VERSION
+            print_revision $PROGNAME $REVISION
             exit $STATE_OK
             ;;
         -V)
-            print_revision $PROGNAME $VERSION
+            print_revision $PROGNAME $REVISION
             exit $STATE_OK
             ;;
         --filename)

Index: check_oracle.sh
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_oracle.sh,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- check_oracle.sh	27 May 2007 14:49:54 -0000	1.16
+++ check_oracle.sh	7 Jul 2007 11:40:28 -0000	1.17
@@ -89,11 +89,11 @@
     exit $STATE_OK
     ;;
 --version)
-		print_revision $PLUGIN $REVISION
+		print_revision $PROGNAME $REVISION
     exit $STATE_OK
     ;;
 -V)
-		print_revision $PLUGIN $REVISION
+		print_revision $PROGNAME $REVISION
     exit $STATE_OK
     ;;
 esac





More information about the Commits mailing list