diff options
Diffstat (limited to 'lib/Smokeping')
-rw-r--r-- | lib/Smokeping/probes/FPing.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm index 0901201..b3bc555 100644 --- a/lib/Smokeping/probes/FPing.pm +++ b/lib/Smokeping/probes/FPing.pm @@ -145,7 +145,7 @@ sub ping ($){ $self->do_debug("Executing @cmd"); my $pid = open3($inh,$outh,$errh, @cmd); $self->{rtts}={}; - my $fh = $self->{properties}{usestdout} || '') eq 'true' ? $outh : $errh; + my $fh = ( $self->{properties}{usestdout} || '') eq 'true' ? $outh : $errh; while (<$fh>){ chomp; $self->do_debug("Got fping output: '$_'"); |