mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
removed unused variable
This commit is contained in:
parent
fac4e151cc
commit
f8532ba812
@ -109,7 +109,6 @@ gettoken() {
|
|||||||
|
|
||||||
#_acme-challenge.www.domain.com
|
#_acme-challenge.www.domain.com
|
||||||
#returns
|
#returns
|
||||||
# _sub_domain=_acme-challenge.www
|
|
||||||
# _domain=domain.com
|
# _domain=domain.com
|
||||||
# _domain_id=sdjkglgdfewsdfg
|
# _domain_id=sdjkglgdfewsdfg
|
||||||
_get_root() {
|
_get_root() {
|
||||||
@ -131,7 +130,6 @@ _get_root() {
|
|||||||
response="$(_get "$CURANET_REST_URL/$h/Records" "" "")"
|
response="$(_get "$CURANET_REST_URL/$h/Records" "" "")"
|
||||||
|
|
||||||
if [ ! "$(echo "$response" | _egrep_o "Entity not found")" ]; then
|
if [ ! "$(echo "$response" | _egrep_o "Entity not found")" ]; then
|
||||||
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
|
||||||
_domain=$h
|
_domain=$h
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user