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
This commit is contained in:
Nick Craig-Wood 2020-07-27 15:24:28 +01:00
parent 4afea1ebaf
commit b2ae94de5b

View File

@ -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
}