Merge pull request #1361 from rneugeba/cmd2

moby: Log error when the kernel untar fails
This commit is contained in:
Rolf Neugebauer 2017-03-22 15:19:05 +00:00 committed by GitHub
commit 8752077ae0

View File

@ -107,7 +107,7 @@ func build(name string, args []string) {
buf := bytes.NewBuffer(out)
bzimage, ktar, err := untarKernel(buf, bzimageName, ktarName)
if err != nil {
log.Fatalf("Could not extract bzImage and kernel filesystem from tarball")
log.Fatalf("Could not extract bzImage and kernel filesystem from tarball. %v", err)
}
containers = append(containers, ktar)