Browse Source

Merge pull request #1886 from philr/skip_alias_when_already_verified

Skip aliases of already verified domains
neil 6 years ago
parent
commit
e550631275
1 changed files with 2 additions and 0 deletions
  1. 2 0
      acme.sh

+ 2 - 0
acme.sh

@@ -2925,6 +2925,7 @@ _clearupdns() {
     _debug txt "$txt"
     if [ "$keyauthorization" = "$STATE_VERIFIED" ]; then
       _debug "$d is already verified, skip $vtype."
+      _alias_index="$(_math "$_alias_index" + 1)"
       continue
     fi
 
@@ -3775,6 +3776,7 @@ $_authorizations_map"
       _debug d "$d"
       if [ "$keyauthorization" = "$STATE_VERIFIED" ]; then
         _debug "$d is already verified, skip $vtype."
+        _alias_index="$(_math "$_alias_index" + 1)"
         continue
       fi