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