From 49572f3da6f0e62adbcb3d326c698fad941164f4 Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Wed, 29 Aug 2012 11:01:18 +0200 Subject: fix regression - added missing ) --- lib/Smokeping/probes/FPing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: '$_'"); -- cgit v1.2.3-24-g4f1b