diff --git a/src/main.rs b/src/main.rs index 6318559..e7e22f4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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() } \ No newline at end of file