summaryrefslogtreecommitdiffhomepage
path: root/runsc/sandbox
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-09-25 21:35:44 +0000
committergVisor bot <gvisor-bot@google.com>2019-09-25 21:35:44 +0000
commit38a7d3675851376a176b90d4480f4d70d1448d83 (patch)
tree09a16aa568dfda21815a13b9cf6a9f1aefb75b47 /runsc/sandbox
parentf6453ac9faefec7798be231b229ab1ac42e0bd64 (diff)
parent129c67d68ee2db4aa3a45ab6970e7d26348ce5ef (diff)
Merge release-20190806.1-184-g129c67d (automated)
Diffstat (limited to 'runsc/sandbox')
-rw-r--r--runsc/sandbox/sandbox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/sandbox/sandbox.go b/runsc/sandbox/sandbox.go
index 4c6c83fbd..ee9327fc8 100644
--- a/runsc/sandbox/sandbox.go
+++ b/runsc/sandbox/sandbox.go
@@ -352,7 +352,7 @@ func (s *Sandbox) createSandboxProcess(conf *boot.Config, args *Args, startSyncF
}
if conf.DebugLog != "" {
test := ""
- if len(conf.TestOnlyTestNameEnv) == 0 {
+ if len(conf.TestOnlyTestNameEnv) != 0 {
// Fetch test name if one is provided and the test only flag was set.
if t, ok := specutils.EnvVar(args.Spec.Process.Env, conf.TestOnlyTestNameEnv); ok {
test = t