summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4755abc)
raw | patch | inline | side by side (parent: 4755abc)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 29 Jan 2003 05:27:20 +0000 (05:27 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 29 Jan 2003 05:27:20 +0000 (05:27 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@264 f882894a-f735-0410-b71e-b25c423dba1c
contrib/check_dns_random.pl | patch | blob | history |
index 787d464413bce1adec9c5641fb3023e4a50ffe43..4bed4120a30d0adb24973802e1fd854b226155bb 100644 (file)
$x = rand $wc;
($z,$y) = split(/\./,$x);
-print `$check $data[$z] $host`;
-
-
+system($check, $data[$z], $host);
+exit ($? / 256);
sub usage
{