Addressing PR feedback

Replace printf with echo
Move dreamhost to bottom of DNS API list
This commit is contained in:
Martin Donlon 2018-02-13 21:02:38 -08:00
parent 2ef9904d00
commit 84649e9d20
2 changed files with 2 additions and 2 deletions

View File

@ -302,7 +302,6 @@ You don't have to do anything manually!
1. Dynu API (https://www.dynu.com) 1. Dynu API (https://www.dynu.com)
1. DNSimple API 1. DNSimple API
1. NS1.com API 1. NS1.com API
1. DreamHost.com API
1. DuckDNS.org API 1. DuckDNS.org API
1. Name.com API 1. Name.com API
1. Dyn Managed DNS API 1. Dyn Managed DNS API
@ -316,6 +315,7 @@ You don't have to do anything manually!
1. Azure DNS 1. Azure DNS
1. selectel.com(selectel.ru) DNS API 1. selectel.com(selectel.ru) DNS API
1. zonomi.com DNS API 1. zonomi.com DNS API
1. DreamHost.com API
And: And:
1. lexicon DNS API: https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api 1. lexicon DNS API: https://github.com/Neilpang/acme.sh/wiki/How-to-use-lexicon-dns-api

View File

@ -61,7 +61,7 @@ submit() {
fi fi
if [ -z "$2" ]; then 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 if [ -n "$message" ]; then
_err "$message" _err "$message"
return 1 return 1