From 468428fe3dc3c1bedce620d1b568f8e589cc91ee Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Sat, 28 May 2016 14:41:06 +0800 Subject: [PATCH] README: Destroy container before fatal Signed-off-by: Qiang Huang --- libcontainer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/README.md b/libcontainer/README.md index 614969462..91e44374e 100644 --- a/libcontainer/README.md +++ b/libcontainer/README.md @@ -186,8 +186,8 @@ process := &libcontainer.Process{ err := container.Start(process) if err != nil { - logrus.Fatal(err) container.Destroy() + logrus.Fatal(err) return }