#9432 Fixed safe operation mode
This commit is contained in:
parent
06be85e044
commit
19998daf63
|
@ -2110,6 +2110,11 @@ sub pandora_process_module ($$$$$$$$$;$) {
|
|||
# Update module status count.
|
||||
$mark_for_update = 1;
|
||||
|
||||
# Safe mode execution.
|
||||
if ($agent->{'safe_mode_module'} == $module->{'id_agente_modulo'}) {
|
||||
safe_mode($pa_config, $agent, $module, $new_status, $known_status, $dbh);
|
||||
}
|
||||
} elsif ($status_changes >= $min_ff_event && $known_status == $new_status && $new_status == 1) {
|
||||
# Safe mode execution.
|
||||
if ($agent->{'safe_mode_module'} == $module->{'id_agente_modulo'}) {
|
||||
safe_mode($pa_config, $agent, $module, $new_status, $known_status, $dbh);
|
||||
|
|
Loading…
Reference in New Issue