mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Allow sending file_path with symbols
This commit is contained in:
parent
d380e2cd45
commit
d3dc3044aa
@ -867,11 +867,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…
x
Reference in New Issue
Block a user