summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2007-12-13 12:50:06 +0100
committerNiko Tyni <ntyni@iki.fi>2007-12-13 12:50:06 +0100
commit41a1b1a239810f5d06e286331f8a7dd607224cfe (patch)
treedd2eea2008860fcdbcd73a2f846e3e45f72fc7c8 /lib/Smokeping
parentf3e27df9021d2ba92b54cb9e8a82c66336a477e8 (diff)
downloadsmokeping-41a1b1a239810f5d06e286331f8a7dd607224cfe.tar.gz
smokeping-41a1b1a239810f5d06e286331f8a7dd607224cfe.tar.xz
clean the last remains of echoping live test code
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/probes/EchoPingHttp.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Smokeping/probes/EchoPingHttp.pm b/lib/Smokeping/probes/EchoPingHttp.pm
index 3cbbb71..706d52e 100644
--- a/lib/Smokeping/probes/EchoPingHttp.pm
+++ b/lib/Smokeping/probes/EchoPingHttp.pm
@@ -73,13 +73,13 @@ sub proto_args {
$ignore = 1
if (defined $ignore and $ignore ne "no"
and $ignore ne "0");
- push @args, "-A" if $ignore and not exists $self->{_disabled}{A};
+ push @args, "-A" if $ignore;
# -a : force cache to revalidate the data
my $revalidate = $target->{vars}{revalidate_data};
$revalidate= 1 if (defined $revalidate and $revalidate ne "no"
and $revalidate ne "0");
- push @args, "-a" if $revalidate and not exists $self->{_disabled}{a};
+ push @args, "-a" if $revalidate;
# -R : accept HTTP redirects
my $accept_redirects = $target->{vars}{accept_redirects};