changed single quotes to double quotes in the variable of the transfer_xml function of plugintools, to fix a bug, which prevented sending the file
This commit is contained in:
parent
c34328583f
commit
938ebb6de7
|
@ -869,11 +869,11 @@ sub transfer_xml {
|
|||
my $r = -1;
|
||||
#Send using tentacle
|
||||
if ($^O =~ /win/i) {
|
||||
$msg = `$conf->{tentacle_client} -v -a $conf->{tentacle_ip} -p $conf->{tentacle_port} $conf->{tentacle_opts} '$file_path'`;
|
||||
$msg = `$conf->{tentacle_client} -v -a $conf->{tentacle_ip} -p $conf->{tentacle_port} $conf->{tentacle_opts} "$file_path"`;
|
||||
$r = $?;
|
||||
}
|
||||
else {
|
||||
$msg = `$conf->{tentacle_client} -v -a $conf->{tentacle_ip} -p $conf->{tentacle_port} $conf->{tentacle_opts} '$file_path' 2>&1`;
|
||||
$msg = `$conf->{tentacle_client} -v -a $conf->{tentacle_ip} -p $conf->{tentacle_port} $conf->{tentacle_opts} "$file_path" 2>&1`;
|
||||
$r = $?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue