Don't require login
and password
to be set
Not all services use them.
This change should have been included with commit
27b5c535bc
.
This commit is contained in:
parent
7b18e4bce4
commit
6320e6c395
1 changed files with 1 additions and 7 deletions
|
@ -3541,13 +3541,7 @@ sub nic_updateable {
|
||||||
warning("IPv6 address for %s valid: %s. Reset warning count", $host, $ipv6);
|
warning("IPv6 address for %s valid: %s. Reset warning count", $host, $ipv6);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($config{$host}{'login'} eq '') {
|
if ($opt{'force'}) {
|
||||||
warning("null login name specified for host %s.", $host);
|
|
||||||
|
|
||||||
} elsif ($config{$host}{'password'} eq '') {
|
|
||||||
warning("null password specified for host %s.", $host);
|
|
||||||
|
|
||||||
} elsif ($opt{'force'}) {
|
|
||||||
info("forcing update of %s.", $host);
|
info("forcing update of %s.", $host);
|
||||||
$update = 1;
|
$update = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue