mirror of https://github.com/hak5/overseer.git
Adds the current master env to our testing env
parent
cfea0d4997
commit
e52c6c7ca9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue