summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-09-12 18:37:11 -0400
committerRob Crittenden <rcritten@redhat.com>2008-09-12 19:38:48 -0400
commitd33b7fc839b4eb87bba06f49d16e5d93b0a87caf (patch)
treec2d9001f09696804ff779dffab57f3e69f8fcde5
parent567bab9850393e12b1576540594bf9e91940a57a (diff)
downloadfreeipa-d33b7fc839b4eb87bba06f49d16e5d93b0a87caf.tar.gz
freeipa-d33b7fc839b4eb87bba06f49d16e5d93b0a87caf.tar.xz
freeipa-d33b7fc839b4eb87bba06f49d16e5d93b0a87caf.zip
The True/False logic was reversed, so "no" meant remove the existing instance
-rw-r--r--ipa-server/ipa-install/ipa-server-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install
index d48791720..d80bd7871 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -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."