mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-07 16:54:51 +00:00
Merge bde0dafa72ac341db422f95404c828f0f631f91a into 6a90856f0eac62f5e5d7d2d0f791edebdde1496a
This commit is contained in:
commit
ae7a8db412
@ -114,7 +114,7 @@ _get_root() {
|
||||
fi
|
||||
|
||||
if _contains "$response" "\"name\":\"$h\"" >/dev/null; then
|
||||
_domain_id=$(echo "$response" | _egrep_o "\"[^\"]*\",\"name\":\"$h" | cut -d , -f 1 | tr -d \")
|
||||
_domain_id=$(echo "$response" | _egrep_o "\"[^\"]*\",\"name\":\"$h\"" | cut -d , -f 1 | tr -d \")
|
||||
if [ "$_domain_id" ]; then
|
||||
if [ "$i" = 1 ]; then
|
||||
#create the record at the domain apex (@) if only the domain name was provided as --domain-alias
|
||||
|
Loading…
x
Reference in New Issue
Block a user