summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-12-30 19:26:31 +0000
committergVisor bot <gvisor-bot@google.com>2020-12-30 19:26:31 +0000
commitfab70369685c35fa4b8e305f488b9f9232043e01 (patch)
tree5fd611b135507bcfb5f88a6bf3970f6b5d4e5e37 /runsc
parent37811c1b997c9d492ee4c24dfaa2813637bbd540 (diff)
parent1b66bad7c47e914994e19f39119d91ab6805002a (diff)
Merge release-20201208.0-97-g1b66bad7c (automated)
Diffstat (limited to 'runsc')
-rw-r--r--runsc/cmd/debug.go2
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)