Fix bad loop'condition.

This commit is contained in:
Luis Guzmán 2021-01-25 04:31:41 -06:00
parent eb90a11f36
commit c05002a0b4
1 changed files with 2 additions and 2 deletions

View File

@ -259,9 +259,9 @@ else
fi
done
#Set domain
while [[ $ANS_JD != yes && $ANS_JD != no ]]
while [[ $ANS_JD != yes ]]
do
read -p "> Please set your domain (or subdmain) here: (jitsi.domain.com)"$'\n' -r JITSI_DOMAIN
read -p "> Please set your domain (or subdmain) here: (e.g.: jitsi.domain.com)"$'\n' -r JITSI_DOMAIN
read -p "> Did you mean?: $JITSI_DOMAIN (yes or no)"$'\n' -r ANS_JD
if [ "$ANS_JD" = "yes" ]; then
echo "Alright, let's use $JITSI_DOMAIN."