Use nonzero exit code on error.

This commit is contained in:
Tangent 128 2018-04-14 18:44:09 -04:00
parent a847d62b34
commit ab55d951a0
1 changed files with 4 additions and 1 deletions

View File

@ -36,5 +36,8 @@ fn main() {
println!("");
Ok(())
}
}.unwrap_or_else(|err| println!("Error: {}", err));
}.unwrap_or_else(|err| {
println!("Error: {}", err);
::std::process::exit(1);
});
}