mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Remove spurious error in server uninstaller about client uninstall failure.
This was meant to catch the case where the client wasn't configured and it missed the most obvious one: the client was installed and is now uninstalled.
This commit is contained in:
@@ -384,7 +384,8 @@ def uninstall(dm_password=None):
|
||||
|
||||
try:
|
||||
(stdout, stderr, rc) = run(["/usr/sbin/ipa-client-install", "--on-master", "--unattended", "--uninstall"], raiseonerr=False)
|
||||
if rc != 2:
|
||||
if rc not in [0,2]:
|
||||
logging.debug("ipa-client-install returned %d" % rc)
|
||||
raise RuntimeError(stdout)
|
||||
except Exception, e:
|
||||
print "Uninstall of client side components failed!"
|
||||
|
||||
Reference in New Issue
Block a user