diff options
author | Niko Tyni <ntyni@iki.fi> | 2006-10-25 22:11:18 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2006-10-25 22:11:18 +0200 |
commit | f917ffe38c78c224952b87aa833d059f7f030101 (patch) | |
tree | f103d494dcf63cca106b42c50942fdaf746df29f | |
parent | 11f5b17c55654c838a2aa1ad5842224b541a2424 (diff) | |
download | smokeping-f917ffe38c78c224952b87aa833d059f7f030101.tar.gz smokeping-f917ffe38c78c224952b87aa833d059f7f030101.tar.xz |
r378@rebekka: niko | 2006-10-25 23:13:14 +0300
don't complain about '-S' missing if it isn't.
-rw-r--r-- | lib/Smokeping/probes/FPing.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm index 5c6f612..3e44f7e 100644 --- a/lib/Smokeping/probes/FPing.pm +++ b/lib/Smokeping/probes/FPing.pm @@ -60,7 +60,7 @@ sub new($$$) my $testhost = $self->testhost; my $return = `$binary -C 1 $testhost 2>&1`; $self->{enable}{S} = (`$binary -h 2>&1` =~ /\s-S\s/); - carp "NOTE: your fping binary doesn't support source address setting (-S), disabling it - see http://bugs.debian.org/198486."; + carp "NOTE: your fping binary doesn't support source address setting (-S), disabling it - see http://bugs.debian.org/198486." if !$self->{enable}{S}; croak "ERROR: fping ('$binary -C 1 $testhost') could not be run: $return" if $return =~ m/not found/; croak "ERROR: FPing must be installed setuid root or it will not work\n" |