diff options
author | Niko Tyni <ntyni@iki.fi> | 2007-05-11 20:03:52 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2007-05-11 20:03:52 +0200 |
commit | d13567a129969c4c3ca0548d08a0d34473aca66d (patch) | |
tree | 06d33f14c67717e185ffe2df662df7eaa093deb5 /lib/Smokeping/probes | |
parent | 82050d908e18016a65a9573fcfb8025d4bca4bcf (diff) | |
download | smokeping-d13567a129969c4c3ca0548d08a0d34473aca66d.tar.gz smokeping-d13567a129969c4c3ca0548d08a0d34473aca66d.tar.xz |
revert the previous Curl change, it doesn't even work...
Diffstat (limited to 'lib/Smokeping/probes')
-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 cbf7d54..5f237ab 100644 --- a/lib/Smokeping/probes/Curl.pm +++ b/lib/Smokeping/probes/Curl.pm @@ -204,7 +204,7 @@ sub test_usage { my %arghash = %$arghashref; for my $feature (keys %arghash) { - if (`$bin $arghash{$feature} 1 127.0.0.1 2>&1` =~ /invalid (option|usage)/i) { + if (`$bin $arghash{$feature} 1 127.0.0.1 2>&1` =~ /invalid option|usage/i) { push @unsupported, $feature; $self->do_log("Note: your curl doesn't support the $feature feature (option $arghash{$feature}), disabling it"); } |