From badc8b3293b79e5d22225eae53fc43293d96d584 Mon Sep 17 00:00:00 2001 From: Patrick Wang Date: Fri, 16 Aug 2019 03:05:54 +0800 Subject: [PATCH] mount: Fix typo in argument checking --- cmd/mount/mount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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