From: neilpang Date: Thu, 31 Mar 2022 01:35:32 +0000 (+0800) Subject: fix update account X-Git-Tag: v3.0.5~26^2~6 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=d53262fab68ae24c44e572840e166a8e1cbfd8ab;p=mirror_acme.sh.git fix update account fix https://github.com/acmesh-official/acme.sh/issues/4009 --- diff --git a/acme.sh b/acme.sh index 5566074f..3860c301 100755 --- a/acme.sh +++ b/acme.sh @@ -3758,7 +3758,7 @@ updateaccount() { _email="$(_getAccountEmail)" - if [ "$ACCOUNT_EMAIL" ]; then + if [ "$_email" ]; then updjson='{"contact": ["mailto:'$_email'"]}' else updjson='{"contact": []}'