diff --git a/dnsapi/dns_ali.sh b/dnsapi/dns_ali.sh index c2105672..c212293f 100755 --- a/dnsapi/dns_ali.sh +++ b/dnsapi/dns_ali.sh @@ -89,7 +89,7 @@ _ali_rest() { _debug2 response "$response" if [ -z "$2" ]; then - message="$(echo "$response" | _egrep_o "\"Message\":\"[^\"]*\"" | cut -d : -f 2 | tr -d \")" + message="$(echo "$response" | _egrep_o "\"Message\":\"[^\"]*\"" | cut -d : -f 2- | tr -d \")" if [ "$message" ]; then _err "$message" return 1