Return proper exit code on builder panic
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
(cherry picked from commit 385f1174ff
)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
b82fe694d4
commit
164f1d362e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue