mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
treat variable contents as text, don't process switches
This commit is contained in:
parent
d96cca3822
commit
83cb89e4f7
@ -85,7 +85,7 @@ dns_he_rm() {
|
|||||||
_debug "The txt record is not found, just skip"
|
_debug "The txt record is not found, just skip"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
_record_id="$(echo "$response" | tr -d "#" | sed "s/<tr/#<tr/g" | tr -d "\n" | tr "#" "\n" | grep "$_full_domain" | grep '"dns_tr"' | grep "$_txt_value" | cut -d '"' -f 4)"
|
_record_id="$(echo "$response" | tr -d "#" | sed "s/<tr/#<tr/g" | tr -d "\n" | tr "#" "\n" | grep "$_full_domain" | grep '"dns_tr"' | grep -- "$_txt_value" | cut -d '"' -f 4)"
|
||||||
_debug2 _record_id "$_record_id"
|
_debug2 _record_id "$_record_id"
|
||||||
if [ -z "$_record_id" ]; then
|
if [ -z "$_record_id" ]; then
|
||||||
_err "Can not find record id"
|
_err "Can not find record id"
|
||||||
|
Loading…
Reference in New Issue
Block a user