summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/EchoPingHttps.pm
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2006-08-30 10:34:16 +0200
committerTobi Oetiker <tobi@oetiker.ch>2006-08-30 10:34:16 +0200
commita8e660624f549afabf3b175107263693a3aca454 (patch)
tree86ad68658f45b7eb9b203501ba6f71b70562275c /lib/Smokeping/probes/EchoPingHttps.pm
parentdd3accda13569f43b6aa83025698a3a247b2c5a1 (diff)
downloadsmokeping-a8e660624f549afabf3b175107263693a3aca454.tar.gz
smokeping-a8e660624f549afabf3b175107263693a3aca454.tar.xz
fixed compatibility with newer echoping versions
Diffstat (limited to 'lib/Smokeping/probes/EchoPingHttps.pm')
-rw-r--r--lib/Smokeping/probes/EchoPingHttps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/EchoPingHttps.pm b/lib/Smokeping/probes/EchoPingHttps.pm
index 629400e..8800592 100644
--- a/lib/Smokeping/probes/EchoPingHttps.pm
+++ b/lib/Smokeping/probes/EchoPingHttps.pm
@@ -54,7 +54,7 @@ sub test_usage {
my $self = shift;
my $bin = $self->{properties}{binary};
- my $response = `$bin -C -h/ 127.0.0.1 2>&1`;
+ my $response = `$bin -C -h / 127.0.0.1 2>&1`;
croak("Your echoping binary doesn't support SSL")
if ($response =~ /(not compiled|invalid option|usage)/i);
$self->SUPER::test_usage;