summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRob <rjl6789@users.noreply.github.com>2020-06-12 11:43:26 +0100
committerGitHub <noreply@github.com>2020-06-12 06:43:26 -0400
commitca5c623855133903521dedb1dca08373ba762948 (patch)
treef904d1cb70cda7340399f7caa0f85744a6cd6790 /bin
parentcbf2f14d0d8a328188a3811cca749d381a80e2a6 (diff)
fix premature return from askinfo (#463)
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. Co-authored-by: rjl6789 <rlives6789@gmail.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mw b/bin/mw
index 1d986d1..c7a5c62 100755
--- a/bin/mw
+++ b/bin/mw
@@ -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] "