From 2d9697aac02f0588d73092664ec312f08ee6324c Mon Sep 17 00:00:00 2001 From: empire Date: Fri, 6 Sep 2024 21:53:40 +0200 Subject: [PATCH] unmount flags --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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