diff --git a/pandora_server/lib/PandoraFMS/Recon/Base.pm b/pandora_server/lib/PandoraFMS/Recon/Base.pm index 902a1d86d9..a214d6ba4b 100644 --- a/pandora_server/lib/PandoraFMS/Recon/Base.pm +++ b/pandora_server/lib/PandoraFMS/Recon/Base.pm @@ -1293,7 +1293,7 @@ sub scan_subnet($) { if (-x $self->{'fping'} && $net_addr->num() > 1) { $self->call('message', "Calling fping...", 5); - my @hosts = `$self->{'fping'} -ga "$subnet" 2>DEVNULL`; + my @hosts = `"$self->{'fping'}" -ga "$subnet" 2>DEVNULL`; next if (scalar(@hosts) == 0); my $step = 50.0 / scalar(@subnets) / scalar(@hosts); # The first 50% of the recon task approx.