Fix yet another data race.

Fixes #1140

PiperOrigin-RevId: 279020846
This commit is contained in:
Bhasker Hariharan
2019-11-06 23:52:21 -08:00
committed by gVisor bot
parent 3552691137
commit 2326224a96
+1 -1
View File
@@ -229,7 +229,7 @@ func runRunsc(tc gtest.TestCase, spec *specs.Spec) error {
dArgs = append(args, "debug",
fmt.Sprintf("--signal=%d", syscall.SIGTERM),
id)
cmd = exec.Command(*runscPath, dArgs...)
cmd := exec.Command(*runscPath, dArgs...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
cmd.Run()