diff options
-rw-r--r-- | contrib/check_dns_random.pl | 5 |
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 | ||
58 | print `$check $data[$z] $host`; | 58 | system($check, $data[$z], $host); |
59 | 59 | exit ($? / 256); | |
60 | |||
61 | 60 | ||
62 | sub usage | 61 | sub usage |
63 | { | 62 | { |