summaryrefslogtreecommitdiff
path: root/scripts/IceGridUtil.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/IceGridUtil.py')
-rw-r--r--scripts/IceGridUtil.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/IceGridUtil.py b/scripts/IceGridUtil.py
index 296d92a8e56..8bbe1b2e371 100644
--- a/scripts/IceGridUtil.py
+++ b/scripts/IceGridUtil.py
@@ -76,8 +76,7 @@ class IceGridNode(ProcessFromBinDir, Server):
def teardown(self, current, success):
# Remove the database directory tree
- if success:
- shutil.rmtree(self.dbdir)
+ shutil.rmtree(self.dbdir)
def getProps(self, current):
props = {
@@ -128,8 +127,7 @@ class IceGridRegistry(ProcessFromBinDir, Server):
def teardown(self, current, success):
# Remove the database directory tree
- if success:
- shutil.rmtree(self.dbdir)
+ shutil.rmtree(self.dbdir)
def getProps(self, current):
# NOTE: we use the loopback interface for multicast with IPv6 to prevent failures