aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/util
diff options
context:
space:
mode:
Diffstat (limited to 'qtip/util')
-rw-r--r--qtip/util/env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtip/util/env.py b/qtip/util/env.py
index d00320c4..ab9ffa7a 100644
--- a/qtip/util/env.py
+++ b/qtip/util/env.py
@@ -192,7 +192,7 @@ class AnsibleEnvSetup(object):
def cleanup(self):
CI_DEBUG = os.getenv('CI_DEBUG')
- if CI_DEBUG:
+ if CI_DEBUG is not None and CI_DEBUG.lower() == 'true':
logger.info("DEBUG Mode: please do cleanup by manual.")
else:
for ip in self.host_ip_list: