Update dns_limacity.sh
This commit is contained in:
parent
7b7c834b08
commit
ad5acb80fe
@ -66,7 +66,7 @@ _lima_get_domain_id() {
|
||||
p=1
|
||||
|
||||
domains=$(_get "${APIBASE}/domains.json")
|
||||
if [ "$(echo "$domains" | _egrep_o "^\{\"domains\"")" ] ; then
|
||||
if [ "$(echo "$domains" | _egrep_o "^\{\"domains\"")" ]; then
|
||||
response="$(echo "$domains" | tr -d "\n" | tr '{' "|" | sed 's/|/&{/g' | tr "|" "\n")"
|
||||
while true; do
|
||||
h=$(printf "%s" "$domain" | cut -d . -f $i-100)
|
||||
|
Loading…
Reference in New Issue
Block a user