From c13a80d2aa273f42d6c3f67f384ed3c7fd1d969a Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Sun, 14 Jan 2007 20:27:50 +0000 Subject: improve -S note when launching FPing probe --- lib/Smokeping/probes/FPing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Smokeping/probes') 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" -- cgit v1.2.3-24-g4f1b