forked from TrueCloudLab/rclone
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 {
|
if len(mountlib.ExtraOptions) > 0 {
|
||||||
fs.Errorf(nil, "-o/--option not supported with this FUSE backend")
|
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")
|
fs.Errorf(nil, "--fuse-flag not supported with this FUSE backend")
|
||||||
}
|
}
|
||||||
return options
|
return options
|
||||||
|
|
Loading…
Add table
Reference in a new issue