Code

case on key to ERRORS hash
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>
Fri, 6 Sep 2002 02:25:00 +0000 (02:25 +0000)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>
Fri, 6 Sep 2002 02:25:00 +0000 (02:25 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@92 f882894a-f735-0410-b71e-b25c423dba1c

plugins-scripts/check_rpc.pl

index 623d6ab22945dc0234d74df167d047660ed21d55..063f2df0846fa6630f334446034bf98ac27eb175 100755 (executable)
@@ -68,7 +68,7 @@ if ($opt_h) { print_help(); exit $ERRORS{'OK'}; }
 # -V means display version number
 if ($opt_V) { 
        print_revision($PROGNAME,'$Revision$ '); 
-       exit $ERRORS{'Ok'}; 
+       exit $ERRORS{'OK'}; 
 }
 
 # Hash containing all RPC program names and numbers