Merge branch 'ent-9118-entities-en-opcion-del-cli-disable-_group' into 'develop'

Ent 9118 entities en opcion del cli disable  group

See merge request artica/pandorafms!5069
This commit is contained in:
Diego Muñoz-Reja 2022-08-31 11:27:59 +00:00
commit 4f9399f1fb
1 changed files with 5 additions and 0 deletions

View File

@ -1164,7 +1164,12 @@ sub cli_disable_group() {
}
my $result = pandora_disable_group ($conf, $dbh, $id_group);
if ($result != 0){
print_log "[INFO] Disabled ".$result." agents from group ".$group_name."\n\n";
} else {
print_log "[INFO] Disabled 0 agents from group ".$group_name."\n\n";
}
}
##############################################################################