diff --git a/crates/bin/src/ui.rs b/crates/bin/src/ui.rs index 5c3474eb..bcbb67e1 100644 --- a/crates/bin/src/ui.rs +++ b/crates/bin/src/ui.rs @@ -34,8 +34,8 @@ pub async fn confirm() -> Result<(), BinstallError> { } match input.as_str().trim() { - "" | "yes" | "y" | "YES" | "Y" => break false, - "no" | "n" | "NO" | "N" => break true, + "yes" | "y" | "YES" | "Y" | "" => break true, + "no" | "n" | "NO" | "N" => break false, _ => { input.clear(); continue;