update_nics: Consistently use --opt
instead of opt
This commit is contained in:
parent
5d68b11d78
commit
e891f53345
1 changed files with 2 additions and 2 deletions
|
@ -1399,8 +1399,8 @@ sub update_nics {
|
|||
# And if it is valid, remember it...
|
||||
$iplist{$use}{$arg_ip}{$arg_fw}{$arg_if}{$arg_web}{$arg_cmd} = $ip;
|
||||
} else {
|
||||
warning("%s: unable to determine IP address with strategy use=%s", $h, $use)
|
||||
if !$daemon || opt('verbose');
|
||||
warning("%s: unable to determine IP address with strategy --use=%s",
|
||||
$h, $use) if !$daemon || opt('verbose');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue