Adds the current master env to our testing env

master
Brandon Nelson 2017-03-15 11:42:08 -07:00
parent cfea0d4997
commit e52c6c7ca9
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ func (mp *master) fetch() {
//overseer sanity check, dont replace our good binary with a non-executable file
tokenIn := token()
cmd := exec.Command(tmpBinPath)
cmd.Env = []string{envBinCheck + "=" + tokenIn}
cmd.Env = append(os.Environ(), []string{envBinCheck + "=" + tokenIn}...)
returned := false
go func() {
time.Sleep(5 * time.Second)