Merge pull request #161 from integer32llc/exit-status
Exit with a nonzero status if we get an error
This commit is contained in:
commit
9732a3bc7d
|
@ -83,6 +83,7 @@ fn main() {
|
|||
|
||||
if let Err(e) = res {
|
||||
writeln!(&mut io::stderr(), "An error occured:\n{}", e).ok();
|
||||
::std::process::exit(101);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue