summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd/kill.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-05 23:39:45 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-05 23:39:45 +0000
commit00810031aa23fdfa996572ca22b565db108c3666 (patch)
treed3e36d3b9e831aec582fb572f3a820a9f3d6ccbd /runsc/cmd/kill.go
parent715a6085fcc34c138a4e3ec7b3acc41266d10d15 (diff)
parentc47f8afe2334c1395a2acd9ebf5191aa4554907c (diff)
Merge release-20201030.0-32-gc47f8afe2 (automated)
Diffstat (limited to 'runsc/cmd/kill.go')
-rw-r--r--runsc/cmd/kill.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/kill.go b/runsc/cmd/kill.go
index 04eee99b2..fe69e2a08 100644
--- a/runsc/cmd/kill.go
+++ b/runsc/cmd/kill.go
@@ -69,7 +69,7 @@ func (k *Kill) Execute(_ context.Context, f *flag.FlagSet, args ...interface{})
Fatalf("it is invalid to specify both --all and --pid")
}
- c, err := container.Load(conf.RootDir, id)
+ c, err := container.LoadAndCheck(conf.RootDir, id)
if err != nil {
Fatalf("loading container: %v", err)
}