aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands')
-rw-r--r--crates/mozart/src/commands/reinstall.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/mozart/src/commands/reinstall.rs b/crates/mozart/src/commands/reinstall.rs
index 91c2aaf..313c70c 100644
--- a/crates/mozart/src/commands/reinstall.rs
+++ b/crates/mozart/src/commands/reinstall.rs
@@ -135,8 +135,8 @@ pub async fn execute(
};
if selected.is_empty() {
- println!("No packages matched the given criteria.");
- return Ok(());
+ eprintln!("Found no packages to reinstall, aborting.");
+ std::process::exit(1);
}
// Step 6: For each selected package, find its locked metadata.