mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-24 18:47:25 +08: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":
|
case "fusermount.path":
|
||||||
fusermountPath = parameter.value
|
fusermountPath = parameter.value
|
||||||
default:
|
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 New Issue
Block a user