Skip to content

Commit

Permalink
Remove duplicate output of fatal error messages
Browse files Browse the repository at this point in the history
log_crit already makes sure that the error message is also output to
standard error.
  • Loading branch information
hillu committed Sep 25, 2021
1 parent c1a88c8 commit 78089d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ pub fn main() {
Ok(_) => (),
Err(e) => {
let e = e.to_string();
eprintln!("{}: {}", &progname, &e);
log_crit(&e);
std::process::abort();
}
Expand Down

0 comments on commit 78089d2

Please sign in to comment.