mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Fix get agent status on unknown modules
This commit is contained in:
parent
9305fd17ba
commit
825137d18b
@ -622,8 +622,8 @@ sub get_agent_status ($$$) {
|
|||||||
$module_status = 3;
|
$module_status = 3;
|
||||||
}
|
}
|
||||||
elsif ($module_status != 3) {
|
elsif ($module_status != 3) {
|
||||||
if ($m_status == 3) {
|
if ($m_status == 0) {
|
||||||
$module_status = 3;
|
$module_status = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user