Merge pull request #161 from integer32llc/exit-status

Exit with a nonzero status if we get an error
This commit is contained in:
Mathieu David 2016-08-07 00:07:41 +02:00 committed by GitHub
commit 9732a3bc7d

View file

@ -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);
}
}