Commit d6780f9e authored by Ondrej Simek's avatar Ondrej Simek
Browse files

Retain an exit code

parent 8534e3b2
......@@ -46,7 +46,9 @@ dns_he_add() {
body="$body&TTL=300"
body="$body&hosted_dns_editrecord=Submit"
response="$(_post "$body" "https://dns.he.net/")"
exitcode=$?
_debug2 response "$response"
return $exitvalue
}
#-- dns_he_rm() - Remove TXT record ------------------------------------
......
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