diff options
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | lib/Smokeping/probes/Curl.pm | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,3 @@ -* fix usage regexp in the Curl probe. - -- niko, found from Ubuntu Launchpad #73437 * show all smoke in the detail graphs, even if it's out of the scale. -- niko, reported by Oskar Liljeblad <oskar *osk.mine.nu> as Debian bug #412826 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"); } |