Commit f8532ba8 authored by peter's avatar peter
Browse files

removed unused variable

parent fac4e151
...@@ -109,7 +109,6 @@ gettoken() { ...@@ -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() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment