mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-31 01:24:35 +02:00
bug fix: error when you have use wrong nic name
git-svn-id: http://svn.merethis.net/centreon-esxd/trunk@46 a5eaa968-4c79-4d68-970d-af6011b5b055
This commit is contained in:
parent
e77a7a7529
commit
8171400253
@ -55,7 +55,7 @@ sub nethost_do {
|
|||||||
|
|
||||||
if (!defined($pnic_def{$pnic})) {
|
if (!defined($pnic_def{$pnic})) {
|
||||||
my $status |= $MYERRORS_MASK{'UNKNOWN'};
|
my $status |= $MYERRORS_MASK{'UNKNOWN'};
|
||||||
print $ERRORS{$MYERRORS{$status}} . "|Link '$pnic' not exist or down.\n";
|
print_response($ERRORS{$MYERRORS{$status}} . "|Link '$pnic' not exist or down.\n");
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user