summaryrefslogtreecommitdiff
path: root/server_config.go
diff options
context:
space:
mode:
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