summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/debug.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/debug.go')
-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 87ad21c9a..7952489de 100644
--- a/runsc/cmd/debug.go
+++ b/runsc/cmd/debug.go
@@ -92,7 +92,7 @@ func (d *Debug) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
}
log.Infof("Found sandbox %q, PID: %d", c.Sandbox.ID, c.Sandbox.Pid)
- if !c.Sandbox.IsRunning() {
+ if !c.IsRunning() {
Fatalf("sandbox %q is not running", c.Sandbox.ID)
}