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:
commit
4f9399f1fb
|
@ -1164,7 +1164,12 @@ sub cli_disable_group() {
|
||||||
}
|
}
|
||||||
|
|
||||||
my $result = pandora_disable_group ($conf, $dbh, $id_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";
|
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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
Loading…
Reference in New Issue