Small cosmetic fixes.

This commit is contained in:
Ondrej Simek 2017-07-27 18:06:19 +02:00
parent aefed1d1b9
commit 235b5b0c15

View File

@ -11,7 +11,6 @@
# Author: Ondrej Simek <me@ondrejsimek.com> # Author: Ondrej Simek <me@ondrejsimek.com>
# Git repo: https://github.com/angel333/acme.sh # Git repo: https://github.com/angel333/acme.sh
#-- dns_he_add() - Add TXT record -------------------------------------- #-- dns_he_add() - Add TXT record --------------------------------------
# Usage: dns_he_add _acme-challenge.subdomain.domain.com "XyZ123..." # Usage: dns_he_add _acme-challenge.subdomain.domain.com "XyZ123..."
@ -86,7 +85,7 @@ dns_he_rm() {
body="$body&hosted_dns_editzone=1" body="$body&hosted_dns_editzone=1"
_post "$body" "https://dns.he.net/" \ _post "$body" "https://dns.he.net/" \
| grep '<div id="dns_status" onClick="hideThis(this);">Successfully removed record.</div>' \ | grep '<div id="dns_status" onClick="hideThis(this);">Successfully removed record.</div>' \
>/dev/null >/dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
_info "Record removed successfuly." _info "Record removed successfuly."
else else