Update dns_limacity.sh
This commit is contained in:
parent
ef20a0128f
commit
97723fbbc9
@ -82,7 +82,7 @@ _lima_get_domain_id() {
|
|||||||
_lima_get_root "$1"
|
_lima_get_root "$1"
|
||||||
_debug "$domain"
|
_debug "$domain"
|
||||||
|
|
||||||
LIMACITY_DOMAINID=$(_get "${APIBASE}/domains.json" | _egrep_o "{\"id\":[0-9]*[^}]*$domain" | _egrep_o "[0-9]*")
|
LIMACITY_DOMAINID=$(_get "${APIBASE}/domains.json" | _egrep_o ":[0-9]*[^}]*$domain" | _egrep_o "[0-9]*")
|
||||||
|
|
||||||
_debug "$LIMACITY_DOMAINID"
|
_debug "$LIMACITY_DOMAINID"
|
||||||
if [ -z "$LIMACITY_DOMAINID" ]; then
|
if [ -z "$LIMACITY_DOMAINID" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user