From b2ae94de5b7cfeb9d9e7534a850042f13f9639b8 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 27 Jul 2020 15:24:28 +0100 Subject: [PATCH] mount: fix mount flags not working This was broken in the recent refactor. See: https://forum.rclone.org/t/issue-with-allow-other-in-beta/18133 --- cmd/mountlib/mount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }