Skip to content

Commit effbcb2

Browse files
committed
Change exit code when errors are caught
1 parent 121b21d commit effbcb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,5 +1222,6 @@ fn main() {
12221222
if let Err(err) = driver() {
12231223
let ERROR = &"error".bright_red().bold();
12241224
eprintln!("{ERROR}: {err}");
1225+
exit(100);
12251226
}
12261227
}

0 commit comments

Comments
 (0)