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:
1 parent
a67b524510
commit
da8f51373a
1 file changed
+2
-1
@@ -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