Commit 4d95e35c authored by DerVerruckteFuchs's avatar DerVerruckteFuchs
Browse files

get response based on $txtvalue

parent 4e553f34
...@@ -101,9 +101,9 @@ dns_1984hosting_rm() { ...@@ -101,9 +101,9 @@ dns_1984hosting_rm() {
return 1 return 1
fi fi
_htmlget "$url/$_zone_id" "$_sub_domain" _htmlget "$url/$_zone_id" "$txtvalue"
_debug2 _response "$_response" _debug2 _response "$_response"
entry_id="$(echo "$_response" | grep "$txtvalue" | _egrep_o 'entry_[0-9]+' | sed 's/entry_//')" entry_id="$(echo "$_response" | _egrep_o 'entry_[0-9]+' | sed 's/entry_//')"
_debug2 entry_id "$entry_id" _debug2 entry_id "$entry_id"
if [ -z "$entry_id" ]; then if [ -z "$entry_id" ]; then
_err "Error getting TXT entry_id for $1" _err "Error getting TXT entry_id for $1"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment