mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 17:01:14 -06:00
Fix: Use unattended parameter instead of options.unattended
Attribute 'unattended' is not always present in 'options' so function parameter 'unattended' should be used. https://fedorahosted.org/freeipa/ticket/5563 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
da1b119663
commit
bc6543efae
@ -463,7 +463,7 @@ def check_reverse_zones(ip_addresses, reverse_zones, options, unattended,
|
||||
ipautil.check_zone_overlap(rz)
|
||||
except ValueError as e:
|
||||
msg = "Reverse zone %s will not be used: %s" % (rz, e)
|
||||
if options.unattended:
|
||||
if unattended:
|
||||
sys.exit(msg)
|
||||
else:
|
||||
root_logger.warning(msg)
|
||||
|
Loading…
Reference in New Issue
Block a user