瀏覽代碼

don't readd same account. fix #558

tags/v3.1
Luke Smith 3 年之前
父節點
當前提交
30c4647c98
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4C50B54A911F6252
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      bin/mw

+ 2
- 0
bin/mw 查看文件

@@ -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


Loading…
取消
儲存