2011-02-14 Dario Rodriguez <dario.rodriguez@artica.es>

* util/pandora_xml_stress.pl: Fixed an error using config files with
	blanks in their names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
darode 2011-02-14 08:42:10 +00:00
parent ae789baf76
commit a0da53df2c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-02-14 Dario Rodriguez <dario.rodriguez@artica.es>
* util/pandora_xml_stress.pl: Fixed an error using config files with
blanks in their names.
2011-02-08 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm

View File

@ -215,7 +215,7 @@ sub copy_xml_file ($$) {
my $tentacle_opts = get_conf_token ($conf, 'tentacle_opts', '');
# Send the file and delete it
`tentacle_client -a $server_ip -p $server_port $tentacle_opts $file > /dev/null 2>&1`;
`tentacle_client -a $server_ip -p $server_port $tentacle_opts "$file" > /dev/null 2>&1`;
unlink ($file);
}