aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/check_platform_reqs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/check_platform_reqs.rs')
-rw-r--r--crates/mozart/src/commands/check_platform_reqs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mozart/src/commands/check_platform_reqs.rs b/crates/mozart/src/commands/check_platform_reqs.rs
index f8c9d72..b3197c1 100644
--- a/crates/mozart/src/commands/check_platform_reqs.rs
+++ b/crates/mozart/src/commands/check_platform_reqs.rs
@@ -104,7 +104,7 @@ pub async fn execute(
}
if exit_code != 0 {
- std::process::exit(exit_code);
+ return Err(mozart_core::exit_code::bail_silent(exit_code));
}
Ok(())