Commit 84649e9d authored by Martin Donlon's avatar Martin Donlon
Browse files

Addressing PR feedback

Replace printf with echo
Move dreamhost to bottom of DNS API list
parent 2ef9904d
......@@ -302,7 +302,6 @@ You don't have to do anything manually!
1. Dynu API (https://www.dynu.com)
1. DNSimple API
1. NS1.com API
1. DreamHost.com API
1. DuckDNS.org API
1. Name.com API
1. Dyn Managed DNS API
......@@ -316,6 +315,7 @@ You don't have to do anything manually!
1. Azure DNS
1. selectel.com(selectel.ru) DNS API
1. zonomi.com DNS API
1. DreamHost.com API
And:
1. lexicon DNS API: https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api
......
......@@ -61,7 +61,7 @@ submit() {
fi
if [ -z "$2" ]; then
message="$(printf "%s" "$response" | _egrep_o "\"Message\":\"[^\"]*\"" | cut -d : -f 2 | tr -d \")"
message="$(echo "$response" | _egrep_o "\"Message\":\"[^\"]*\"" | cut -d : -f 2 | tr -d \")"
if [ -n "$message" ]; then
_err "$message"
return 1
......
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