summaryrefslogtreecommitdiffstats
path: root/geo-replication/syncdaemon/resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'geo-replication/syncdaemon/resource.py')
-rw-r--r--geo-replication/syncdaemon/resource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/resource.py b/geo-replication/syncdaemon/resource.py
index 3e9058da25b..2fb6d5f1cdf 100644
--- a/geo-replication/syncdaemon/resource.py
+++ b/geo-replication/syncdaemon/resource.py
@@ -1411,7 +1411,7 @@ class GLUSTER(AbstractUrl, SlaveLocal, SlaveRemote):
def cleanup_mntpt(self, mntpt=None):
if not mntpt:
mntpt = self.mntpt
- os.rmdir(mntpt)
+ errno_wrap(os.rmdir, [mntpt], [ENOENT, EBUSY])
class MountbrokerMounter(Mounter):