From 7d7a0bf3f22833dda422aea190299d2650b1d881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alo=C3=AFs=20Micard?= Date: Sun, 18 Oct 2020 09:12:31 +0200 Subject: [PATCH] do_msvc_check: set default choice to no Before that the behavior on Windows when running rustup-init without having build tools installed was to continue. Now the user need to explicitly choose to continue installation, and thus we are making sure they are carefully reading the warning message. Closes: #2514 --- src/cli/self_update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/self_update.rs b/src/cli/self_update.rs index 835edca395..c06519a7c4 100644 --- a/src/cli/self_update.rs +++ b/src/cli/self_update.rs @@ -307,7 +307,7 @@ pub fn install( warn!("installing msvc toolchain without its prerequisites"); } else { md(&mut term, MSVC_MESSAGE); - if !common::confirm("\nContinue? (Y/n)", true)? { + if !common::confirm("\nContinue? (y/N)", false)? { info!("aborting installation"); return Ok(utils::ExitCode(0)); }