mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Windows environment spaces in binary file names
This commit is contained in:
parent
d644714fcb
commit
8d73339887
@ -1458,7 +1458,7 @@ sub pandora_block_ping($@) {
|
|||||||
|
|
||||||
if (-x $pa_config->{'fping'}) {
|
if (-x $pa_config->{'fping'}) {
|
||||||
# fping timeout in milliseconds
|
# fping timeout in milliseconds
|
||||||
$cmd = $pa_config->{'fping'} . " -a -q -t " . (1000 * $pa_config->{'networktimeout'}) . " " . (join (' ', @hosts));
|
$cmd = '"'.$pa_config->{'fping'} . '" -a -q -t ' . (1000 * $pa_config->{'networktimeout'}) . " " . (join (' ', @hosts));
|
||||||
@output = `$cmd 2>$DEVNULL`;
|
@output = `$cmd 2>$DEVNULL`;
|
||||||
} else {
|
} else {
|
||||||
# Ping scan
|
# Ping scan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user