diff options
-rw-r--r-- | contrib/check_email_loop.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/check_email_loop.pl b/contrib/check_email_loop.pl index bcaf13b4..fb418ee3 100644 --- a/contrib/check_email_loop.pl +++ b/contrib/check_email_loop.pl | |||
@@ -41,10 +41,10 @@ use Getopt::Long; | |||
41 | # ---------------------------------------- | 41 | # ---------------------------------------- |
42 | 42 | ||
43 | my $TIMEOUT = 120; | 43 | my $TIMEOUT = 120; |
44 | my %ERRORS = ('UNKNOWN' , '-1', | 44 | my %ERRORS = ('OK' , '0', |
45 | 'OK' , '0', | ||
46 | 'WARNING', '1', | 45 | 'WARNING', '1', |
47 | 'CRITICAL', '2'); | 46 | 'CRITICAL', '2'); |
47 | 'UNKNOWN' , '3'); | ||
48 | 48 | ||
49 | my $state = "UNKNOWN"; | 49 | my $state = "UNKNOWN"; |
50 | my ($sender,$receiver, $pophost, $popuser, $poppasswd, $smtphost,$keeporphaned); | 50 | my ($sender,$receiver, $pophost, $popuser, $poppasswd, $smtphost,$keeporphaned); |