chore(cli): Panic on broken pipe; review fixes

This commit is contained in:
Andrew Hlynskyi 2021-06-07 21:11:49 +03:00
parent dbdda25224
commit ce2bb561b4
2 changed files with 2 additions and 3 deletions

View file

@ -14,7 +14,7 @@ const BUILD_VERSION: &'static str = env!("CARGO_PKG_VERSION");
const BUILD_SHA: Option<&'static str> = option_env!("BUILD_SHA");
fn main() {
if let Err(ref e) = run() {
if let Err(e) = run() {
if e.is_ignored() {
exit(0);
}