fix: revert default selection for log creation question

This commit is contained in:
th33xitus
2020-10-28 12:10:38 +01:00
parent e6d5a73a79
commit 6ce475e27a

View File

@@ -99,13 +99,13 @@ get_user_selections_moonraker(){
if [ "$KLIPPY_SL_FOUND" = "false" ]; then if [ "$KLIPPY_SL_FOUND" = "false" ]; then
while true; do while true; do
echo echo
read -p "${cyan}###### Create klippy.log symlink? (Y/n):${default} " yn read -p "${cyan}###### Create klippy.log symlink? (y/N):${default} " yn
case "$yn" in case "$yn" in
Y|y|Yes|yes|"") Y|y|Yes|yes)
echo -e "###### > Yes" echo -e "###### > Yes"
SEL_KLIPPYLOG_SL="true" SEL_KLIPPYLOG_SL="true"
break;; break;;
N|n|No|no) N|n|No|no|"")
echo -e "###### > No" echo -e "###### > No"
SEL_KLIPPYLOG_SL="false" SEL_KLIPPYLOG_SL="false"
break;; break;;
@@ -119,13 +119,13 @@ get_user_selections_moonraker(){
if [ "$MOONRAKER_SL_FOUND" = "false" ]; then if [ "$MOONRAKER_SL_FOUND" = "false" ]; then
while true; do while true; do
echo echo
read -p "${cyan}###### Create moonraker.log symlink? (Y/n):${default} " yn read -p "${cyan}###### Create moonraker.log symlink? (y/N):${default} " yn
case "$yn" in case "$yn" in
Y|y|Yes|yes|"") Y|y|Yes|yes)
echo -e "###### > Yes" echo -e "###### > Yes"
SEL_MRLOG_SL="true" SEL_MRLOG_SL="true"
break;; break;;
N|n|No|no) N|n|No|no|"")
echo -e "###### > No" echo -e "###### > No"
SEL_MRLOG_SL="false" SEL_MRLOG_SL="false"
break;; break;;