Exit code added (604837 - Lachlan Cameron-Smith)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@264 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
Ton Voon 2003-01-29 05:27:20 +00:00
parent 4755abc591
commit e2e676c45f

View file

@ -55,9 +55,8 @@ $wc =~ s/domains//g;
$x = rand $wc;
($z,$y) = split(/\./,$x);
print `$check $data[$z] $host`;
system($check, $data[$z], $host);
exit ($? / 256);
sub usage
{