mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 03:48:27 +08:00
mount: Fix typo in argument checking
This commit is contained in:
parent
27a9d0f570
commit
badc8b3293
|
@ -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…
Reference in New Issue
Block a user