From 2326224a9652201938df2881be055ab352672587 Mon Sep 17 00:00:00 2001 From: Bhasker Hariharan Date: Wed, 6 Nov 2019 23:50:54 -0800 Subject: Fix yet another data race. Fixes #1140 PiperOrigin-RevId: 279020846 --- test/syscalls/syscall_test_runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/syscalls') 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() -- cgit v1.2.3