Fix get agent status on unknown modules

This commit is contained in:
Calvo 2023-01-30 17:17:48 +01:00
parent 9305fd17ba
commit 825137d18b
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}
}