UNKNOWN exit status was returning status of "-1", changed to "3"

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1290 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
Harper Mann 2005-11-29 23:21:06 +00:00
parent a15ea2615f
commit a079822858

View 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);