diff --git a/sdcard/sdcard.c b/sdcard/sdcard.c index 4712e9030..f8b23a3f9 100644 --- a/sdcard/sdcard.c +++ b/sdcard/sdcard.c @@ -1866,7 +1866,7 @@ static int run(const char* source_path, const char* dest_path, uid_t uid, struct fuse fuse; /* cleanup from previous instance, if necessary */ - umount2(dest_path, 2); + umount2(dest_path, MNT_DETACH); fd = open("/dev/fuse", O_RDWR); if (fd < 0){