Skip to content

Commit

Permalink
Do not print out "Error encountered"
Browse files Browse the repository at this point in the history
The error will print out its own description of itself as an error, so
this extra error text is redundant.

Signed-off-by: mulhern <amulhern@redhat.com>
  • Loading branch information
mulkieran committed Jan 6, 2025
1 parent 4383625 commit c3b486c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/stratisd-tools.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ fn main() {
match c.run(stripped_args) {
Ok(()) => {}
Err(e) => {
eprintln!("Error encountered: {e}");
eprintln!("{e}");
process::exit(1);
}
}
Expand Down

0 comments on commit c3b486c

Please sign in to comment.