Code

UNKNOWN exit status was returning status of "-1", changed to "3"
authorHarper Mann <harpermann@users.sourceforge.net>
Tue, 29 Nov 2005 23:21:06 +0000 (23:21 +0000)
committerHarper Mann <harpermann@users.sourceforge.net>
Tue, 29 Nov 2005 23:21:06 +0000 (23:21 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1290 f882894a-f735-0410-b71e-b25c423dba1c

contrib/check_email_loop.pl

index bcaf13b49cdff146fda49f47fa949859db03a644..fb418ee3cd3806145e71ffecf98ea376a910e654 100644 (file)
@@ -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);