summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--lib/Smokeping/probes/Curl.pm3
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 39123b1..66c2c2b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+* Switch to curl --help since some distros seem to compile without --manual
+ -- tobi
+
* made Smokeping.pm more portable by using %.1f in perl sprintf -- tobi
* fix file locking for solaris in master/slave setups. work in progress. -- tobi
diff --git a/lib/Smokeping/probes/Curl.pm b/lib/Smokeping/probes/Curl.pm
index 166333f..346f141 100644
--- a/lib/Smokeping/probes/Curl.pm
+++ b/lib/Smokeping/probes/Curl.pm
@@ -202,7 +202,8 @@ sub test_usage {
my $arghashref = $self->features;
my %arghash = %$arghashref;
- my $curl_man = `$bin --manual`;
+ my $curl_man = `$bin --help`;
+
for my $feature (keys %arghash) {
next if $curl_man =~ /\Q$arghash{$feature}/;
push @unsupported, $feature;