Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

mount: Fix typo in argument checking

Patrick Wangbadc8b3293b7
diff --git a/cmd/mount/mount.go b/cmd/mount/mount.go
index 414252d17..117eb76da 100644
--- a/cmd/mount/mount.go
+++ b/cmd/mount/mount.go
@@ -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