summaryrefslogtreecommitdiff
path: root/server_config.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-09-30 19:41:11 +0300
committerWolfy-J <[email protected]>2018-09-30 19:41:11 +0300
commitd110691233d09efb2286ace21f4a2240dbf2d373 (patch)
treeaacc880ffc3fcfeac7089d300083d8876de43b6e /server_config.go
parent4816238fc22ad5207072c9d2eda328544b339d24 (diff)
bugfix: RR_RELAY value fix
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 db13382b..454b7992 100644
--- a/server_config.go
+++ b/server_config.go
@@ -76,7 +76,7 @@ func (cfg *ServerConfig) makeCommand() func() *exec.Cmd {
return func() *exec.Cmd {
cmd := exec.Command(cmd[0], cmd[1:]...)
cmd.Env = append(os.Environ(), fmt.Sprintf("RR_RELAY=%s", cfg.Relay))
- cmd.Env = append(os.Environ(), cfg.env...)
+ cmd.Env = append(cmd.Env, cfg.env...)
return cmd
}
}