Browse Source

Update dns_limacity.sh

pull/4757/head
laraveluser 12 months ago
committed by GitHub
parent
commit
97723fbbc9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_limacity.sh

2
dnsapi/dns_limacity.sh

@ -82,7 +82,7 @@ _lima_get_domain_id() {
_lima_get_root "$1"
_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"
if [ -z "$LIMACITY_DOMAINID" ]; then

Loading…
Cancel
Save