summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/wait.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/wait.go')
-rw-r--r--runsc/cmd/wait.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/wait.go b/runsc/cmd/wait.go
index 28d0642ed..c1d6aeae2 100644
--- a/runsc/cmd/wait.go
+++ b/runsc/cmd/wait.go
@@ -72,7 +72,7 @@ func (wt *Wait) Execute(_ 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 container: %v", err)
}