From 339771b0d87e787a496c7d193edf5c9c4a50195d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Dudl=C3=A1k?= Date: Fri, 5 Apr 2019 12:56:53 +0200 Subject: [PATCH] Remove unreachable code Removing same elsif from install_check method. Reviewed-By: Alexander Bokovoy Reviewed-By: Tibor Dudlak --- ipaserver/install/adtrust.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ipaserver/install/adtrust.py b/ipaserver/install/adtrust.py index 10e675cd3..e543330f4 100644 --- a/ipaserver/install/adtrust.py +++ b/ipaserver/install/adtrust.py @@ -381,15 +381,6 @@ def install_check(standalone, options, api): 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.") elif os.path.exists(paths.SMB_CONF): print("WARNING: The smb.conf already exists. Running " "ipa-adtrust-install will break your existing samba "