get TXT entry based on $txtvalue

This commit is contained in:
DerVerruckteFuchs committed 2021-09-12 17:20:01 -04:00
1 parent b910726c43
commit 4e553f34ba
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ dns_1984hosting_rm() {
_htmlget "$url/$_zone_id" "$_sub_domain"
_debug2 _response "$_response"
entry_id="$(echo "$_response" | _egrep_o 'entry_[0-9]+' | sed 's/entry_//' | _head_n 1)"
entry_id="$(echo "$_response" | grep "$txtvalue" | _egrep_o 'entry_[0-9]+' | sed 's/entry_//')"
_debug2 entry_id "$entry_id"
if [ -z "$entry_id" ]; then
_err "Error getting TXT entry_id for $1"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.