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 mount flags not working

Nick Craig-Woodb2ae94de5b7c
diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.go
index f820bce82..f9c6fde85 100644
--- a/cmd/mountlib/mount.go
+++ b/cmd/mountlib/mount.go
@@ -436,7 +436,7 @@ func ClipBlocks(b *uint64) {
//
// If noModTime is set then it
func Mount(VFS *vfs.VFS, mountpoint string, mount MountFn, opt *Options) error {
- if opt != nil {
+ if opt == nil {
opt = &DefaultOpt
}