empty string

This commit is contained in:
Collin Jackson 2024-10-08 17:32:07 -07:00
parent f821a5da53
commit bf9761d07c

View File

@ -6,8 +6,9 @@ NEXUS_HOME=$HOME/.nexus
while [ -z "$NONINTERACTIVE" ]; do
read -p "Do you agree to the Nexus Beta Terms of Use (https://nexus.xyz/terms-of-use)? (Y/n) " yn </dev/tty
case $yn in
[Yy]* ) break;;
[Nn]* ) exit;;
[Yy]* ) break;;
"" ) break;;
* ) echo "Please answer yes or no.";;
esac
done