summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-install/ipa-server-install
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/ipa-install/ipa-server-install')
-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 0c208018..80a1a023 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -128,7 +128,7 @@ def check_existing_installation():
sys.exit(1)
for d in dirs:
serverid = os.path.basename(d).split("slapd-", 1)[1]
- if ds.serverid:
+ if serverid:
erase_ds_instance_data (serverid)
def main():