Pārlūkot izejas kodu

don't readd same account. fix #558

tags/v3.1
Luke Smith pirms 4 gadiem
vecāks
revīzija
30c4647c98
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4C50B54A911F6252
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      bin/mw

+ 2
- 0
bin/mw Parādīt failu

@@ -164,6 +164,8 @@ askinfo() { \
echo "\`$fulladdr\` is not a valid email address. Please retype the address:"
read -r fulladdr
done
grep -q "Channel\s*$fulladdr$" "$mbsyncrc" &&
{ echo "$fulladdr has already been added" && exit 1 ;}
{ [ -z "$imap" ] || [ -z "$smtp" ] ;} && parsedomains
[ -z "$imap" ] && echo "Give your email server's IMAP address (excluding the port number):" &&
read -r imap


Notiek ielāde…
Atcelt
Saglabāt