fix error with state

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@12148 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Julien Mathis 2011-04-26 09:19:01 +00:00
parent 0190418201
commit b6577cab4d
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,7 @@ if (defined($currentValue)){
print "Critical[$i] = $critical_table[$i] / returnValue = $returnValue \n" if($OPTION{'debug'});
if ($critical_table[$i] == $returnValue) {
$status = "CRITICAL";
$state = $warning_table[$i+1];
$state = $critical_table[$i+1];
}
$i = $i +2;
}