unmount flags

This commit is contained in:
empire 2024-09-06 21:53:40 +02:00
parent a44d503113
commit 2d9697aac0

View File

@ -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()
} }