From 8cba4daf2048793ed8375fd2622635a821dcf17a Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 6 Feb 2018 19:28:27 +0100 Subject: [PATCH] Print to stderr --- bin/core/imag/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/core/imag/src/main.rs b/bin/core/imag/src/main.rs index 11a88fc5..218e54ab 100644 --- a/bin/core/imag/src/main.rs +++ b/bin/core/imag/src/main.rs @@ -220,7 +220,7 @@ fn main() { Ok(exit_status) => { if !exit_status.success() { debug!("imag-{} exited with non-zero exit code: {:?}", subcommand, exit_status); - println!("imag-{} exited with non-zero exit code", subcommand); + eprintln!("imag-{} exited with non-zero exit code", subcommand); exit(exit_status.code().unwrap_or(1)); } debug!("Successful exit!");