mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-20 00:10:09 -05:00
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:
parent
4755abc591
commit
e2e676c45f
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue