Browse Source

better fix for option format

pull/3770/head
chrislu 2 years ago
parent
commit
c3487d3da7
  1. 6
      weed/command/fuse.go

6
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)
}
}

Loading…
Cancel
Save