diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index ac4dce1ab2..5b9ba86939 100644 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -3870,7 +3870,7 @@ sub cli_locate_agent () { } } - if (defined(@list_servers)) { + if (scalar(@list_servers) > 0) { $list_names_servers = join(',',@list_servers); print_log "[INFO] The agent: $agent_name find in server with IDS: $list_names_servers\n\n"; }