use std::path::PathBuf;
pub fn unmount(mountpoint: PathBuf) {
let status = std::process::Command::new("fusermount")
.args(["-u", mountpoint.to_str().unwrap()])
.status()
.expect("fusermount not found");
if !status.success() {
eprintln!("fusermount failed");
std::process::exit(1);
}
}