Code

Fix translations when extra-opts aren't enabled
[nagiosplug.git] / contrib / check_email_loop.pl
index bcaf13b49cdff146fda49f47fa949859db03a644..1b02ea3cd58115565e32ba00fd0a1a3b89d053cc 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 #
-# $Id$
+# $Id: check_email_loop.pl 1290 2005-11-29 23:21:06Z harpermann $
 #
 # (c)2000 Benjamin Schmid, blueshift@gmx.net (emergency use only ;-)
 # Copyleft by GNU GPL
@@ -41,10 +41,10 @@ use Getopt::Long;
 # ----------------------------------------
 
 my $TIMEOUT = 120;
-my %ERRORS = ('UNKNOWN' , '-1',
-              'OK' , '0',
+my %ERRORS = ('OK' , '0',
               'WARNING', '1',
               'CRITICAL', '2');
+              'UNKNOWN' , '3');
 
 my $state = "UNKNOWN";
 my ($sender,$receiver, $pophost, $popuser, $poppasswd, $smtphost,$keeporphaned);