From 339771b0d87e787a496c7d193edf5c9c4a50195d Mon Sep 17 00:00:00 2001 From: Tibor Dudlák Date: Jul 01 2019 11:21:21 +0000 Subject: Remove unreachable code Removing same elsif from install_check method. Reviewed-By: Alexander Bokovoy Reviewed-By: Tibor Dudlak --- diff --git a/ipaserver/install/adtrust.py b/ipaserver/install/adtrust.py index 10e675c..e543330 100644 --- a/ipaserver/install/adtrust.py +++ b/ipaserver/install/adtrust.py @@ -390,15 +390,6 @@ def install_check(standalone, options, api): default=False, allow_empty=False): raise ScriptError("Aborting installation.") - elif os.path.exists(paths.SMB_CONF): - print("WARNING: The smb.conf already exists. Running " - "ipa-adtrust-install will break your existing samba " - "configuration.\n\n") - if not options.unattended: - if not ipautil.user_input("Do you wish to continue?", - default=False, - allow_empty=False): - raise ScriptError("Aborting installation.") if not options.unattended and not options.enable_compat: options.enable_compat = enable_compat_tree()