From eec882ad8b32033d1e9da8e995f533c30b07cf55 Mon Sep 17 00:00:00 2001 From: mulhern Date: Fri, 3 Jan 2025 12:15:38 -0500 Subject: [PATCH] Do not print out "Error encountered" The error will print out its own description of itself as an error, so this extra error text is redundant. Signed-off-by: mulhern --- src/bin/stratisd-tools.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/stratisd-tools.rs b/src/bin/stratisd-tools.rs index e057929a57..3ab951c410 100644 --- a/src/bin/stratisd-tools.rs +++ b/src/bin/stratisd-tools.rs @@ -77,7 +77,7 @@ fn main() { match c.run(stripped_args) { Ok(()) => {} Err(e) => { - eprintln!("Error encountered: {e}"); + eprintln!("{e}"); process::exit(1); } }