Added condition to --get_agents function in cli. Ticket#3110

This commit is contained in:
Arturo Gonzalez 2015-12-22 14:00:30 +01:00
parent c58e6b2738
commit b2161a26e6
1 changed files with 3 additions and 3 deletions

View File

@ -3252,9 +3252,9 @@ sub cli_get_policies() {
sub cli_get_agents() {
my ($group_name, $os_name, $status, $max_modules, $filter_substring, $policy_name) = @ARGV[2..7];
my $condition = ' 1=1';
my $condition = ' disabled=0';
my $id_group;
my $id_os;
my $policy_id;