summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/check_dns_random.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/check_dns_random.pl b/contrib/check_dns_random.pl
index 787d464..4bed412 100644
--- a/contrib/check_dns_random.pl
+++ b/contrib/check_dns_random.pl
@@ -55,9 +55,8 @@ $wc =~ s/domains//g;
55$x = rand $wc; 55$x = rand $wc;
56($z,$y) = split(/\./,$x); 56($z,$y) = split(/\./,$x);
57 57
58print `$check $data[$z] $host`; 58system($check, $data[$z], $host);
59 59exit ($? / 256);
60
61 60
62sub usage 61sub usage
63{ 62{