summaryrefslogtreecommitdiff
path: root/server_config.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-06 14:11:00 +0300
committerWolfy-J <[email protected]>2018-06-06 14:11:00 +0300
commit67b88c9914d922314ce7cd8d3624d64812647758 (patch)
tree9cf52b1f85deed31133bae33961fd537e2270ad1 /server_config.go
parent7067d593f243e86a54f4ffd87a06c744e5636e07 (diff)
server config
Diffstat (limited to 'server_config.go')
-rw-r--r--server_config.go2
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