mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
README: Destroy container before fatal
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
@@ -186,8 +186,8 @@ process := &libcontainer.Process{
|
||||
|
||||
err := container.Start(process)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
container.Destroy()
|
||||
logrus.Fatal(err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user