Change escaping rules of executable paths to cope with older versions of systemd
This commit is contained in:
@@ -69,4 +69,7 @@ var tf = map[string]interface{}{
|
||||
"cmd": func(s string) string {
|
||||
return `"` + strings.Replace(s, `"`, `\"`, -1) + `"`
|
||||
},
|
||||
"cmdEscape": func(s string) string {
|
||||
return strings.Replace(s, " ", `\x20`, -1)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user