Fixed warning in pandora_manage(CLI). Tiquet: #3496

This commit is contained in:
m-lopez-f 2016-03-30 11:18:30 +02:00
parent 0210afa536
commit ccf7da77a9

View File

@ -3870,7 +3870,7 @@ sub cli_locate_agent () {
} }
} }
if (defined(@list_servers)) { if (scalar(@list_servers) > 0) {
$list_names_servers = join(',',@list_servers); $list_names_servers = join(',',@list_servers);
print_log "[INFO] The agent: $agent_name find in server with IDS: $list_names_servers\n\n"; print_log "[INFO] The agent: $agent_name find in server with IDS: $list_names_servers\n\n";
} }