summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/ps.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/ps.go')
-rw-r--r--runsc/cmd/ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/ps.go b/runsc/cmd/ps.go
index bc58c928f..18d7a1436 100644
--- a/runsc/cmd/ps.go
+++ b/runsc/cmd/ps.go
@@ -60,7 +60,7 @@ func (ps *PS) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{})
id := f.Arg(0)
conf := args[0].(*config.Config)
- c, err := container.Load(conf.RootDir, id)
+ c, err := container.LoadAndCheck(conf.RootDir, id)
if err != nil {
Fatalf("loading sandbox: %v", err)
}