mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
Retain an exit code
This commit is contained in:
parent
8534e3b2f7
commit
d6780f9e49
@ -46,7 +46,9 @@ dns_he_add() {
|
|||||||
body="$body&TTL=300"
|
body="$body&TTL=300"
|
||||||
body="$body&hosted_dns_editrecord=Submit"
|
body="$body&hosted_dns_editrecord=Submit"
|
||||||
response="$(_post "$body" "https://dns.he.net/")"
|
response="$(_post "$body" "https://dns.he.net/")"
|
||||||
|
exitcode=$?
|
||||||
_debug2 response "$response"
|
_debug2 response "$response"
|
||||||
|
return $exitvalue
|
||||||
}
|
}
|
||||||
|
|
||||||
#-- dns_he_rm() - Remove TXT record ------------------------------------
|
#-- dns_he_rm() - Remove TXT record ------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user