aboutsummaryrefslogtreecommitdiff
path: root/util/fusermount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/fusermount.c')
-rw-r--r--util/fusermount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index 48f23fa..cd8a9c3 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -1082,7 +1082,7 @@ static int mount_fuse(const char *mnt, const char *opts)
if (geteuid() == 0) {
res = add_mount(source, mnt, type, mnt_opts);
if (res == -1) {
- umount2(mnt, UMOUNT_DETACH); /* lazy umount */
+ /* Can't clean up mount in a non-racy way */
close(fd);
return -1;
}