Several fixes for correlation recovery

This commit is contained in:
fbsanchez 2021-09-27 15:12:20 +02:00
parent 1983403327
commit 4f76a44ffa
1 changed files with 1 additions and 3 deletions

View File

@ -660,9 +660,7 @@ sub pandora_evaluate_alert ($$$$$$$;$$$$) {
] ]
); );
return $status unless defined ($rc); return $status unless !PandoraFMS::Tools::is_empty($rc) && $rc == 1;
return $rc unless $rc == 0;
} }
# Check min and max alert limits # Check min and max alert limits