diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2019-11-06 23:50:54 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-06 23:52:21 -0800 |
commit | 2326224a9652201938df2881be055ab352672587 (patch) | |
tree | 3d5172f8aadc1f49930d85777e9feb9c127eb951 | |
parent | 3552691137284525a33d3de7e3c2d170da66c8ac (diff) |
Fix yet another data race.
Fixes #1140
PiperOrigin-RevId: 279020846
-rw-r--r-- | test/syscalls/syscall_test_runner.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/syscall_test_runner.go b/test/syscalls/syscall_test_runner.go index 7186a8ddc..accf46347 100644 --- a/test/syscalls/syscall_test_runner.go +++ b/test/syscalls/syscall_test_runner.go @@ -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() |