mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
better fix for option format
This commit is contained in:
parent
ba0db28dbb
commit
c3487d3da7
|
@ -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…
Reference in a new issue