diff options
author | Wolfy-J <[email protected]> | 2018-06-06 14:11:00 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-06 14:11:00 +0300 |
commit | 67b88c9914d922314ce7cd8d3624d64812647758 (patch) | |
tree | 9cf52b1f85deed31133bae33961fd537e2270ad1 /server_config.go | |
parent | 7067d593f243e86a54f4ffd87a06c744e5636e07 (diff) |
server config
Diffstat (limited to 'server_config.go')
-rw-r--r-- | server_config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server_config.go b/server_config.go index 0a06d749..72585e06 100644 --- a/server_config.go +++ b/server_config.go @@ -90,7 +90,7 @@ func (cfg *ServerConfig) makeCommand() (func() *exec.Cmd, error) { return func() *exec.Cmd { cmd := exec.Command(cmd[0], cmd[1:]...) if crd != nil { - cmd.SysProcAttr.Credential = crd + cmd.SysProcAttr = &syscall.SysProcAttr{Credential: crd} } return cmd |