diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-12-30 19:26:31 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-30 19:26:31 +0000 |
commit | fab70369685c35fa4b8e305f488b9f9232043e01 (patch) | |
tree | 5fd611b135507bcfb5f88a6bf3970f6b5d4e5e37 /runsc/cmd | |
parent | 37811c1b997c9d492ee4c24dfaa2813637bbd540 (diff) | |
parent | 1b66bad7c47e914994e19f39119d91ab6805002a (diff) |
Merge release-20201208.0-97-g1b66bad7c (automated)
Diffstat (limited to 'runsc/cmd')
-rw-r--r-- | runsc/cmd/debug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/debug.go b/runsc/cmd/debug.go index 195a32ac1..843dce01d 100644 --- a/runsc/cmd/debug.go +++ b/runsc/cmd/debug.go @@ -124,7 +124,7 @@ func (d *Debug) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) } } - if c.IsSandboxRunning() { + if !c.IsSandboxRunning() { return Errorf("container sandbox is not running") } log.Infof("Found sandbox %q, PID: %d", c.Sandbox.ID, c.Sandbox.Pid) |