mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 14:41:40 +00:00
fix error
This commit is contained in:
parent
5e970cdca4
commit
5c09788ec4
@ -60,8 +60,8 @@ dns_namesilo_rm() {
|
|||||||
retcode=$(printf "%s\n" "$response" | _egrep_o "<code>300")
|
retcode=$(printf "%s\n" "$response" | _egrep_o "<code>300")
|
||||||
if [ "$retcode" ]; then
|
if [ "$retcode" ]; then
|
||||||
_record_id=$(echo "$response" | _egrep_o "<record_id>([^<]*)</record_id><type>TXT</type><host>$fulldomain</host>" | _egrep_o "<record_id>([^<]*)</record_id>" | sed -r "s/<record_id>([^<]*)<\/record_id>/\1/" | tail -n 1)
|
_record_id=$(echo "$response" | _egrep_o "<record_id>([^<]*)</record_id><type>TXT</type><host>$fulldomain</host>" | _egrep_o "<record_id>([^<]*)</record_id>" | sed -r "s/<record_id>([^<]*)<\/record_id>/\1/" | tail -n 1)
|
||||||
_debug record_id "$_record_id"
|
_debug _record_id "$_record_id"
|
||||||
if [ "$record_id" ]; then
|
if [ "$_record_id" ]; then
|
||||||
_info "Successfully retrieved the record id for ACME challenge."
|
_info "Successfully retrieved the record id for ACME challenge."
|
||||||
else
|
else
|
||||||
_info "Empty record id, it seems no such record."
|
_info "Empty record id, it seems no such record."
|
||||||
|
Loading…
Reference in New Issue
Block a user