From 85d1c632d3d0c5c122bb4a6c11b5011273656ffa Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 6 Feb 2018 19:28:08 +0100 Subject: [PATCH] Print "imag-" rather than only "" The error output should note "imag- exited with ..." rather than only " exited with ..." --- bin/core/imag/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/core/imag/src/main.rs b/bin/core/imag/src/main.rs index 1c7bbf9f..11a88fc5 100644 --- a/bin/core/imag/src/main.rs +++ b/bin/core/imag/src/main.rs @@ -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!");