diff options
Diffstat (limited to 'lib/Smokeping/probes/EchoPingSmtp.pm')
-rw-r--r-- | lib/Smokeping/probes/EchoPingSmtp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/EchoPingSmtp.pm b/lib/Smokeping/probes/EchoPingSmtp.pm index a65b97c..74f7a64 100644 --- a/lib/Smokeping/probes/EchoPingSmtp.pm +++ b/lib/Smokeping/probes/EchoPingSmtp.pm @@ -54,7 +54,7 @@ sub test_usage { my $self = shift; my $bin = $self->{properties}{binary}; croak("Your echoping binary doesn't support SMTP") - if `$bin -S 0.0.0.1 2>&1` =~ /(not compiled|invalid option|usage)/i; + if `$bin -S 2>&1` !~ /^Usage/; $self->SUPER::test_usage; return; } |