summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oetiker <tobi@oetiker.ch>2012-08-29 11:01:18 +0200
committerTobias Oetiker <tobi@oetiker.ch>2012-08-29 11:01:18 +0200
commit49572f3da6f0e62adbcb3d326c698fad941164f4 (patch)
tree67e8bd0115914757ce814b29035e9e109cc26d14
parent491498b57a427230069604d10b68073c0f6f5e33 (diff)
downloadsmokeping-49572f3da6f0e62adbcb3d326c698fad941164f4.tar.gz
smokeping-49572f3da6f0e62adbcb3d326c698fad941164f4.tar.xz
fix regression - added missing )
-rw-r--r--lib/Smokeping/probes/FPing.pm2
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: '$_'");