diff options
Diffstat (limited to 'lib/Smokeping')
-rw-r--r-- | lib/Smokeping/probes/Curl.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/Curl.pm b/lib/Smokeping/probes/Curl.pm index af5be29..de56758 100644 --- a/lib/Smokeping/probes/Curl.pm +++ b/lib/Smokeping/probes/Curl.pm @@ -263,7 +263,7 @@ sub pingone { my $count = $self->pings($t); for (my $i = 0 ; $i < $count; $i++) { - open(P, "-|", @cmd) or croak("fork: $!"); + open(P, "-|") or exec @cmd; my $val; |