Fix rebase for init error

Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
Upstream-commit: d5112ffce60625e470515578ccd446a191dd9e88
Component: engine
This commit is contained in:
Michael Crosby
2014-01-17 16:53:13 -08:00
parent 95062bc2c2
commit ce11258e8e

View File

@ -43,7 +43,7 @@ func init() {
os.Exit(127)
}
if err := syscall.Exec(path, args.Args, os.Environ()); err != nil {
panic(err)
return fmt.Errorf("dockerinit unable to execute %s - %s", path, err)
}
panic("Unreachable")
})