Skip to content

Commit

Permalink
Return exit code 1 on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
nikarh committed Oct 8, 2023
1 parent d64a43a commit 2c25512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fn main() {
Ok(_) => {}
Err(e) => {
eprintln!("{} {}", "Error:".bold().red(), format!("{e:?}").red());
std::process::exit(1);
}
}
}

0 comments on commit 2c25512

Please sign in to comment.