mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Filter by id_agente_modulo when evaluating safe mode operation.
Ref pandora_enterprise#1276.
This commit is contained in:
parent
0f37cccab5
commit
fe9a426109
@ -1532,7 +1532,7 @@ sub pandora_process_module ($$$$$$$$$;$) {
|
|||||||
$mark_for_update = 1;
|
$mark_for_update = 1;
|
||||||
|
|
||||||
# Safe mode execution.
|
# Safe mode execution.
|
||||||
if ($agent->{'safe_mode_module'} != 0) {
|
if ($agent->{'safe_mode_module'} == $module->{'id_agente_modulo'}) {
|
||||||
safe_mode($pa_config, $agent, $module, $new_status, $known_status, $dbh);
|
safe_mode($pa_config, $agent, $module, $new_status, $known_status, $dbh);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user