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;
|
||||
}
|
||||
elsif ($module_status != 3) {
|
||||
if ($m_status == 3) {
|
||||
$module_status = 3;
|
||||
if ($m_status == 0) {
|
||||
$module_status = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue