Update dns_limacity.sh

This commit is contained in:
laraveluser 2024-01-08 01:45:34 +01:00 committed by GitHub
parent ef20a0128f
commit 97723fbbc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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