Return proper exit code on builder panic
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> Upstream-commit: 385f1174ff6905243c51d97d641d815a520229ff Component: engine
This commit is contained in:
@ -305,6 +305,7 @@ func runBuild(dockerCli *command.DockerCli, options buildOptions) error {
|
||||
}
|
||||
return cli.StatusError{Status: jerr.Message, StatusCode: jerr.Code}
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
// Windows: show error message about modified file permissions if the
|
||||
|
||||
Reference in New Issue
Block a user