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

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

View File

@ -3342,9 +3342,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;