summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/events.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/cmd/events.go')
-rw-r--r--runsc/cmd/events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/events.go b/runsc/cmd/events.go
index 25fe2cf1c..5211ad4ce 100644
--- a/runsc/cmd/events.go
+++ b/runsc/cmd/events.go
@@ -74,7 +74,7 @@ func (evs *Events) Execute(ctx context.Context, f *flag.FlagSet, args ...interfa
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)
}