Browse Source
Merge pull request #5252 from williamdes/patch-1
Add ACCOUNT_THUMBPRINT to update account
pull/5255/head
neil
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
0 deletions
-
acme.sh
|
|
@ -3881,6 +3881,9 @@ updateaccount() { |
|
|
|
if [ "$code" = '200' ]; then |
|
|
|
echo "$response" >"$ACCOUNT_JSON_PATH" |
|
|
|
_info "Account update success for $_accUri." |
|
|
|
|
|
|
|
ACCOUNT_THUMBPRINT="$(__calc_account_thumbprint)" |
|
|
|
_info "ACCOUNT_THUMBPRINT" "$ACCOUNT_THUMBPRINT" |
|
|
|
else |
|
|
|
_info "An error occurred and the account was not updated." |
|
|
|
return 1 |
|
|
|