mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-02 23:26:42 +02: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