From dd17124ec6eb5d89a68c515bfa4972b5c6e6a4dc Mon Sep 17 00:00:00 2001
From: neilpang <neil@neilpang.com>
Date: Wed, 14 Mar 2018 21:45:16 +0800
Subject: [PATCH] fix error

---
 acme.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/acme.sh b/acme.sh
index 16f82fd..1fb9b47 100755
--- a/acme.sh
+++ b/acme.sh
@@ -3557,7 +3557,7 @@ issue() {
       _identifiers="{\"type\":\"dns\",\"value\":\"$_main_domain\"}"
       while true; do
         _w_index=1
-        d="$(echo "$$_alt_domains" | cut -d , -f "$_w_index")"
+        d="$(echo "$_alt_domains," | cut -d , -f "$_w_index")"
         _w_index="$(_math "$_w_index" + 1)"
         _debug d "$d"
         if [ -z "$d" ]; then