Print "imag-<tool>" rather than only "<tool>"

The error output should note "imag-<tool> exited with ..." rather than
only "<tool> exited with ..."
This commit is contained in:
Matthias Beyer 2018-02-06 19:28:08 +01:00
parent 3b138ba881
commit 85d1c632d3

View file

@ -219,8 +219,8 @@ fn main() {
{
Ok(exit_status) => {
if !exit_status.success() {
debug!("{} exited with non-zero exit code: {:?}", subcommand, exit_status);
println!("{} exited with non-zero exit code", subcommand);
debug!("imag-{} exited with non-zero exit code: {:?}", subcommand, exit_status);
println!("imag-{} exited with non-zero exit code", subcommand);
exit(exit_status.code().unwrap_or(1));
}
debug!("Successful exit!");