mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
ent #9118 cli disable group entities
This commit is contained in:
parent
7106547b38
commit
c0227482db
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
##############################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user