The True/False logic was reversed, so "no" meant remove the existing instance

This commit is contained in:
Rob Crittenden 2008-09-12 18:37:11 -04:00
parent 567bab9850
commit d33b7fc839

View File

@ -270,7 +270,7 @@ def check_dirsrv(unattended):
if serverids:
print ""
print "An existing Directory Server has been detected."
if unattended or user_input("Do you wish to remove it and create a new one?", False):
if unattended or not user_input("Do you wish to remove it and create a new one?", False):
print ""
print "Only a single Directory Server instance is allowed on an IPA"
print "server, the one used by IPA itself."