From d13567a129969c4c3ca0548d08a0d34473aca66d Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Fri, 11 May 2007 18:03:52 +0000 Subject: revert the previous Curl change, it doesn't even work... --- lib/Smokeping/probes/Curl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping/probes/Curl.pm') 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"); } -- cgit v1.2.3-24-g4f1b