summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2007-05-11 20:03:52 +0200
committerNiko Tyni <ntyni@iki.fi>2007-05-11 20:03:52 +0200
commitd13567a129969c4c3ca0548d08a0d34473aca66d (patch)
tree06d33f14c67717e185ffe2df662df7eaa093deb5 /lib/Smokeping/probes
parent82050d908e18016a65a9573fcfb8025d4bca4bcf (diff)
downloadsmokeping-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.pm2
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");
}