Skip to content

Commit

Permalink
Update dns_limacity.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
laraveluser authored Jan 12, 2024
1 parent 7b7c834 commit ad5acb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_limacity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ad5acb8

Please sign in to comment.