summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/state.go')
-rw-r--r--runsc/cmd/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/state.go b/runsc/cmd/state.go
index 2bd2ab9f8..d8a70dd7f 100644
--- a/runsc/cmd/state.go
+++ b/runsc/cmd/state.go
@@ -57,7 +57,7 @@ func (*State) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) s
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)
}