mount: Fix typo in argument checking
This commit is contained in:
parent
27a9d0f570
commit
badc8b3293
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func mountOptions(device string) (options []fuse.MountOption) {
|
|||
if len(mountlib.ExtraOptions) > 0 {
|
||||
fs.Errorf(nil, "-o/--option not supported with this FUSE backend")
|
||||
}
|
||||
if len(mountlib.ExtraOptions) > 0 {
|
||||
if len(mountlib.ExtraFlags) > 0 {
|
||||
fs.Errorf(nil, "--fuse-flag not supported with this FUSE backend")
|
||||
}
|
||||
return options
|
||||
|
|
Loading…
Reference in a new issue