diff --git a/mm-scripts.sh b/mm-scripts.sh index 357ae46..65a11c1 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -875,7 +875,8 @@ MMSETUP(){ if [ "${EMAIL_NOTICE}" != "" ]; then read -n 1 -p "Use previous email address [${EMAIL_NOTICE}] (Y/n)?" choice - case "$choice" in; [Nn]) EMAIL_NOTICE="";;esac + case "$choice" in + [Nn]) EMAIL_NOTICE="";;esac fi if [ "${EMAIL_NOTICE}" == "" ]; then echo; echo -e -n "${idsCL[LightCyan]}(optional) SMTP notification address: ${idsCL[Default]}" @@ -886,7 +887,8 @@ MMSETUP(){ if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then read -n 1 -p "Use previous Pushover App Token [${PUSHOVER_APP_TOKEN}] (Y/n)?" choice - case "$choice" in; [Nn]) PUSHOVER_APP_TOKEN="";;esac + case "$choice" in + [Nn]) PUSHOVER_APP_TOKEN="";;esac fi if [ "${PUSHOVER_APP_TOKEN}" == "" ]; then echo; echo -e -n "${idsCL[LightCyan]}(optional) Pushover App Token: ${idsCL[Default]}" @@ -898,7 +900,8 @@ MMSETUP(){ if [ "${PUSHOVER_APP_TOKEN}" != "" ]; then if [ "${PUSHOVER_USER_TOKEN}" != "" ]; then read -n 1 -p "Use previous Pushover User Token [${PUSHOVER_USER_TOKEN}] (Y/n)?" choice - case "$choice" in; [Nn]) PUSHOVER_USER_TOKEN="";;esac + case "$choice" in + [Nn]) PUSHOVER_USER_TOKEN="";;esac fi if [ "${PUSHOVER_USER_TOKEN}" == "" ]; then echo; echo -e -n "${idsCL[LightCyan]}(optional) Pushover User Token: ${idsCL[Default]}"