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 caa44168b..cb7d81057 100644
--- a/runsc/cmd/debug.go
+++ b/runsc/cmd/debug.go
@@ -85,7 +85,7 @@ func (d *Debug) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
if err != nil {
Fatalf("error loading container %q: %v", id, err)
}
- if candidate.Pid() == d.pid {
+ if candidate.SandboxPid() == d.pid {
c = candidate
break
}