summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 895617d..ca4b298 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -131,7 +131,8 @@ async fn main() -> Result<()> {
true => start_interactive(&config).await,
} {
let highlight = stderr().is_terminal() && config.read().highlight;
- render_error(err, highlight)
+ render_error(err, highlight);
+ std::process::exit(1);
}
Ok(())
}