summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster')
-rw-r--r--glustolibs-gluster/glustolibs/gluster/gluster_base_class.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
index 15d96748e..858741abd 100644
--- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
+++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py
@@ -414,7 +414,7 @@ class GlusterBaseClass(TestCase):
cmd = ('rm -rf %s' % mount_obj.mountpoint)
ret, _, err = g.run(
mount_obj.client_system, cmd, user=mount_obj.user)
- if not ret:
+ if ret:
g.log.error(
"failed to delete the directory path used for "
"mounting %s: %s" % (mount_obj.mountpoint, err))