fix: invert default selection

invert the pre-selected option from yes to no.
This commit is contained in:
th33xitus
2020-09-11 12:55:34 +02:00
committed by GitHub
parent 4d53a92c83
commit 0c9e967ebe

View File

@@ -77,13 +77,13 @@ remove_moonraker(){
unset REMOVE_MOONRAKER_CONF
while true; do
echo
read -p "${cyan}###### Delete moonraker.conf? (Y/n):${default} " yn
read -p "${cyan}###### Delete moonraker.conf? (y/N):${default} " yn
case "$yn" in
Y|y|Yes|yes|"")
Y|y|Yes|yes)
echo -e "###### > Yes"
REMOVE_MOONRAKER_CONF="true"
break;;
N|n|No|no)
N|n|No|no|"")
echo -e "###### > No"
REMOVE_MOONRAKER_CONF="false"
break;;