Skip to content

Commit eea2330

Browse files
committed
skip '-o' in mount options
1 parent 0100124 commit eea2330

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ fn make_mount_options(options: &[&OsStr]) -> io::Result<fuser::Config> {
6868
"non-utf8 mount option not supported",
6969
)
7070
})?;
71+
if opt_str == "-o" {
72+
continue;
73+
}
7174
cfg.mount_options
7275
.push(MountOption::CUSTOM(opt_str.to_owned()));
7376
}

0 commit comments

Comments
 (0)