|
|
@ -155,7 +155,7 @@ dns_inwx_rm() { |
|
|
|
if ! printf "%s" "$response" | grep "count" -q; then |
|
|
|
_info "Do not need to delete record" |
|
|
|
else |
|
|
|
_record_id=$(printf '%s' "$response" | sed -nE 's/.*(<member><name>record){1}(.*)(<name>id<\/name><value><int>)([0-9]+){1}.*/\4/p') |
|
|
|
_record_id=$(printf '%s' "$response" | sed -nE 's/.*(<member><name>record){1}(.*)(<name>id<\/name><value><int>)([0-9]+){1}.*/\4/p') |
|
|
|
_info "Deleting record" |
|
|
|
_inwx_delete_record "$_record_id" |
|
|
|
fi |
|
|
|