aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2003-01-17 05:56:01 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2003-01-17 05:56:01 +0000
commit86ac5cbdb767501a836dc57f21377ae11810d4d0 (patch)
tree18c25d8ea091fd405a187367eed11d477bcbdc8a /plugins-scripts
parent1c359fe16f08025253871c3616dfc76ea96b906b (diff)
downloadmonitoring-plugins-86ac5cbdb767501a836dc57f21377ae11810d4d0.tar.gz
bug fix for state and opt_c initialization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@251 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-xplugins-scripts/check_rpc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_rpc.pl b/plugins-scripts/check_rpc.pl
index 655028ce..b9ca2799 100755
--- a/plugins-scripts/check_rpc.pl
+++ b/plugins-scripts/check_rpc.pl
@@ -29,8 +29,8 @@ my ($verbose,@proto,%prognum,$host,$response,$prognum,$port,$cmd,$progver,$state
my ($array_ref,$test,$element,@progkeys,$proto,$a,$b);
my ($opt_V,$opt_h,$opt_C,$opt_p,$opt_H,$opt_c,$opt_u,$opt_t);
my ($line, @progvers, $response2,$response3);
-$opt_V = $opt_h = $opt_C = $opt_p = $opt_H = $opt_c = $opt_u = $opt_t ='';
-$state = 'OK';
+$opt_V = $opt_h = $opt_C = $opt_p = $opt_H = $opt_u = $opt_t ='';
+$state = 'UNKNOWN';
$progver = $response=$response2= $response3 ='';
$PROGNAME = "check_rpc";