mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Fix few syntax errors.
This commit is contained in:
parent
df2b40303f
commit
fbc74a0cb4
@ -45,7 +45,7 @@ def main():
|
||||
if not ipautil.file_exists("/etc/ipa/ipa.conf"):
|
||||
print "This system does not appear to have IPA configured."
|
||||
print "Has ipa-server-install been run?"
|
||||
if not ipautil.user_input("Continue with radius install?", False)
|
||||
if not ipautil.user_input("Continue with radius install?", False):
|
||||
sys.exit(1)
|
||||
|
||||
installutils.standard_logging_setup("iparadius-install.log", False)
|
||||
|
@ -146,7 +146,7 @@ def check_dirsrv():
|
||||
if serverids:
|
||||
print ""
|
||||
print "An existing Directory Server has been detected."
|
||||
if not ipautil.user_input("Do you wish to remove it and create a new one?", False)
|
||||
if not ipautil.user_input("Do you wish to remove it and create a new one?", False):
|
||||
print ""
|
||||
print "Only a single Directory Server instance is allowed on an IPA"
|
||||
print "server, the one used by IPA itself."
|
||||
@ -189,7 +189,7 @@ def main():
|
||||
if host != config.host_name:
|
||||
try:
|
||||
print "This replica was created for '%s' but this machine is named '%s'" % (host, config.host_name)
|
||||
if not ipautil.user_input("This may cause problems. Continue?", True)
|
||||
if not ipautil.user_input("This may cause problems. Continue?", True):
|
||||
sys.exit(0)
|
||||
print ""
|
||||
except KeyboardInterrupt:
|
||||
|
Loading…
Reference in New Issue
Block a user