Merge pull request #5415 from hashicorp/b-fix-libcontainer-panic

fix possible panic in libcontainer shim init
This commit is contained in:
Mahmood Ali
2019-03-15 15:29:57 -04:00
committed by GitHub

View File

@@ -19,6 +19,7 @@ func init() {
factory, _ := libcontainer.New("")
if err := factory.StartInitialization(); err != nil {
hclog.L().Error("failed to initialize libcontainer-shim", "error", err)
os.Exit(1)
}
panic("--this line should have never been executed, congratulations--")
}