aboutsummaryrefslogtreecommitdiff
path: root/weed/command/fuse.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/fuse.go')
-rw-r--r--weed/command/fuse.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/weed/command/fuse.go b/weed/command/fuse.go
index 1d58ffdd7..cf088022c 100644
--- a/weed/command/fuse.go
+++ b/weed/command/fuse.go
@@ -191,7 +191,11 @@ func runFuse(cmd *Command, args []string) bool {
case "fusermount.path":
fusermountPath = parameter.value
default:
- mountOptions.extraOptions = append(mountOptions.extraOptions, fmt.Sprintf("%s=%s", parameter.name, parameter.value))
+ t := parameter.name
+ if parameter.value != "true" {
+ t = fmt.Sprintf("%s=%s", parameter.name, parameter.value)
+ }
+ mountOptions.extraOptions = append(mountOptions.extraOptions, t)
}
}