Pārlūkot izejas kodu

fix premature return from askinfo

I believe this addresses issue #456 where if you add a protonmail account you get an error.  This is caused by prematurely returning from the case statement that queries whether you have a protonmail account or not.
pull/463/head
rjl6789 pirms 4 gadiem
vecāks
revīzija
18a951cffc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Parādīt failu

@@ -148,7 +148,7 @@ askinfo() { \
search_query=$domain
case "$domain" in
protonmail.com|protonmail.ch|pm.me)
search_query='protonmail.com' && return 1;;
search_query='protonmail.com' ;;
*)
while : ; do
printf "\nIs your email hosted with Protonmail? [yes/no] "


Notiek ielāde…
Atcelt
Saglabāt