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

View file

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