From a0da53df2ccdcf09497ded4bf6757e97a3bd2ec8 Mon Sep 17 00:00:00 2001 From: darode Date: Mon, 14 Feb 2011 08:42:10 +0000 Subject: [PATCH] 2011-02-14 Dario Rodriguez * 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 --- pandora_server/ChangeLog | 5 +++++ pandora_server/util/pandora_xml_stress.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 2935ded782..a89255a580 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2011-02-14 Dario Rodriguez + + * util/pandora_xml_stress.pl: Fixed an error using config files with + blanks in their names. + 2011-02-08 Sergio Martin * lib/PandoraFMS/Tools.pm diff --git a/pandora_server/util/pandora_xml_stress.pl b/pandora_server/util/pandora_xml_stress.pl index a631d1250c..59a7ee49ed 100755 --- a/pandora_server/util/pandora_xml_stress.pl +++ b/pandora_server/util/pandora_xml_stress.pl @@ -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); }