mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Wrap up the raw_input() to user_input() for convenience and uniformity.
This commit is contained in:
committed by
Rob Crittenden
parent
72a3114a01
commit
f7ca405716
@@ -45,8 +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?"
|
||||
yesno = raw_input("Continue with radius install [y/N]? ")
|
||||
if yesno.lower() != "y":
|
||||
if not ipautil.user_input("Continue with radius install?", False)
|
||||
sys.exit(1)
|
||||
|
||||
installutils.standard_logging_setup("iparadius-install.log", False)
|
||||
|
||||
Reference in New Issue
Block a user