mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +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;
|
my $r = -1;
|
||||||
#Send using tentacle
|
#Send using tentacle
|
||||||
if ($^O =~ /win/i) {
|
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 = $?;
|
$r = $?;
|
||||||
}
|
}
|
||||||
else {
|
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 = $?;
|
$r = $?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user