diff --git a/aztec-up/bin/0.0.1/aztec-install b/aztec-up/bin/0.0.1/aztec-install index 155a39323b06..7013482ae380 100755 --- a/aztec-up/bin/0.0.1/aztec-install +++ b/aztec-up/bin/0.0.1/aztec-install @@ -86,10 +86,10 @@ function title { echo -e " ${bold}${g}aztec-up${r} - installs and manages aztec toolchain versions." echo -e " ${bold}${g}aztec-wallet${r} - a minimalistic wallet cli." echo - read -p "Do you wish to continue? (y/n) " -n 1 -r + read -p "Do you wish to continue? (Y/n) " -n 1 -r echo echo - if [[ ! $REPLY =~ ^[Yy]$ ]]; then + if [[ ! $REPLY =~ ^[Yy]?$ ]]; then exit 1 fi } @@ -111,7 +111,7 @@ function check_for_old_install { echo_yellow "If you continue, the entire $AZTEC_HOME directory will be removed and replaced with the new installation." echo "You should manually remove old docker images you no longer need." echo - read -p "Do you wish to continue? (y/n) " -n 1 -r + read -p "Do you wish to continue? (y/N) " -n 1 -r echo echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then diff --git a/aztec-up/bin/0.0.1/aztec-up b/aztec-up/bin/0.0.1/aztec-up index 47885749a996..edf35680e404 100755 --- a/aztec-up/bin/0.0.1/aztec-up +++ b/aztec-up/bin/0.0.1/aztec-up @@ -376,7 +376,7 @@ function cmd_prune { done echo - read -p "Continue? (y/n) " -n 1 -r + read -p "Continue? (y/N) " -n 1 -r echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then echo "Aborted."