summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/check_bgpstate.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/check_bgpstate.pl b/contrib/check_bgpstate.pl
index 6658a0b..645d750 100644
--- a/contrib/check_bgpstate.pl
+++ b/contrib/check_bgpstate.pl
@@ -141,7 +141,7 @@ foreach $snmpoid (@snmpoids) {
141 $answer=$session->error; 141 $answer=$session->error;
142 $session->close; 142 $session->close;
143 $state = 'CRITICAL'; 143 $state = 'CRITICAL';
144 print ("$state: $answer,$community,$snmpkey"); 144 print ("$state: $answer,$snmpkey");
145 exit $ERRORS{$state}; 145 exit $ERRORS{$state};
146 } 146 }
147 147