Browse Source

fix https://github.com/Neilpang/acme.sh/issues/1074

neilpang 7 years ago
parent
commit
352dd907ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -3135,7 +3135,7 @@ _regAccount() {
       fi
       fi
       if [ "$code" = '202' ]; then
       if [ "$code" = '202' ]; then
         _info "Update account tos info success."
         _info "Update account tos info success."
-
+        echo "$response" >"$ACCOUNT_JSON_PATH"
         CA_KEY_HASH="$(__calcAccountKeyHash)"
         CA_KEY_HASH="$(__calcAccountKeyHash)"
         _debug "Calc CA_KEY_HASH" "$CA_KEY_HASH"
         _debug "Calc CA_KEY_HASH" "$CA_KEY_HASH"
         _savecaconf CA_KEY_HASH "$CA_KEY_HASH"
         _savecaconf CA_KEY_HASH "$CA_KEY_HASH"