unmount flags
This commit is contained in:
parent
a44d503113
commit
2d9697aac0
@ -141,5 +141,5 @@ fn process_mount(fstype: &str, what: &String, path: PathBuf) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn remove_mount(path: &OsStr){
|
fn remove_mount(path: &OsStr){
|
||||||
unmount(path, UnmountFlags::FORCE | UnmountFlags::DETACH).unwrap()
|
unmount(path, UnmountFlags::FORCE).unwrap()
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user