mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
fix(agent): fix generating incorrect cert values for shell command
This commit is contained in:
parent
671024965f
commit
392946fe33
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ package agent
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
"strings"
|
||||
"text/template"
|
||||
)
|
||||
|
||||
|
@ -20,5 +19,5 @@ func (c *AgentEnvConfig) Generate() (string, error) {
|
|||
if err := installScriptTemplate.Execute(buf, c); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return strings.ReplaceAll(buf.String(), ";", "\\;"), nil
|
||||
return buf.String(), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue