summaryrefslogtreecommitdiffstats
path: root/ipa-client/ipaclient
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-client/ipaclient')
-rw-r--r--ipa-client/ipaclient/ipadiscovery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-client/ipaclient/ipadiscovery.py b/ipa-client/ipaclient/ipadiscovery.py
index ecd8275c..9d909fd1 100644
--- a/ipa-client/ipaclient/ipadiscovery.py
+++ b/ipa-client/ipaclient/ipadiscovery.py
@@ -280,7 +280,7 @@ class IPADiscovery:
finally:
os.remove("%s/ca.crt" % temp_ca_dir)
- os.removedirs(temp_ca_dir)
+ os.rmdir(temp_ca_dir)
def ipadnssearchldap(self, tdomain):