summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-01-14 21:27:50 +0100
committerTobi Oetiker <tobi@oetiker.ch>2007-01-14 21:27:50 +0100
commitc13a80d2aa273f42d6c3f67f384ed3c7fd1d969a (patch)
tree5452854a69174a605b442cbfe1e123f4233f225f
parentfb2b5def3024bc60f82e2d976a26b3b7a7ba36ab (diff)
downloadsmokeping-c13a80d2aa273f42d6c3f67f384ed3c7fd1d969a.tar.gz
smokeping-c13a80d2aa273f42d6c3f67f384ed3c7fd1d969a.tar.xz
improve -S note when launching FPing probe
-rw-r--r--lib/Smokeping/probes/FPing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Smokeping/probes/FPing.pm b/lib/Smokeping/probes/FPing.pm
index 3247bfd..c3f76fc 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), I will ignore any sourceaddress configurations! it - see http://bugs.debian.org/198486.\n" if !$self->{enable}{S};
+ carp "NOTE: your fping binary doesn't support source address setting (-S), I will ignore any sourceaddress configurations - see http://bugs.debian.org/198486.\n" 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"