From 86ac5cbdb767501a836dc57f21377ae11810d4d0 Mon Sep 17 00:00:00 2001 From: Subhendu Ghosh Date: Fri, 17 Jan 2003 05:56:01 +0000 Subject: 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 diff --git a/plugins-scripts/check_rpc.pl b/plugins-scripts/check_rpc.pl index 655028c..b9ca279 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"; -- cgit v0.10-9-g596f