Merge pull request #852 from hqhq/fix_libcontainer_readme
README: Destroy container before fatal
This commit is contained in:
commit
9dcacfb835
|
@ -186,8 +186,8 @@ process := &libcontainer.Process{
|
|||
|
||||
err := container.Start(process)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
container.Destroy()
|
||||
logrus.Fatal(err)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue