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