Merge "Correct magic number on umount2"
This commit is contained in:
commit
1a39a994d9
1 changed files with 1 additions and 1 deletions
|
|
@ -1875,7 +1875,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){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue