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);
|
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