diff options
author | Tobias Oetiker <tobi@oetiker.ch> | 2012-08-29 11:01:18 +0200 |
---|---|---|
committer | Tobias Oetiker <tobi@oetiker.ch> | 2012-08-29 11:01:18 +0200 |
commit | 49572f3da6f0e62adbcb3d326c698fad941164f4 (patch) | |
tree | 67e8bd0115914757ce814b29035e9e109cc26d14 /lib/Smokeping | |
parent | 491498b57a427230069604d10b68073c0f6f5e33 (diff) | |
download | smokeping-49572f3da6f0e62adbcb3d326c698fad941164f4.tar.gz smokeping-49572f3da6f0e62adbcb3d326c698fad941164f4.tar.xz |
fix regression - added missing )
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: '$_'"); |