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

@ -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