fix format

This commit is contained in:
neil 2020-07-07 20:02:48 +08:00
parent 1dffaba266
commit f00e289014

View File

@ -85,8 +85,7 @@ _get_root() {
_regru_rest POST "service/get_list" "username=${REGRU_API_Username}&password=${REGRU_API_Password}&output_format=xml&servtype=domain" _regru_rest POST "service/get_list" "username=${REGRU_API_Username}&password=${REGRU_API_Password}&output_format=xml&servtype=domain"
domains_list=$(echo "${response}" | grep dname | sed -r "s/.*dname=\"([^\"]+)\".*/\\1/g") domains_list=$(echo "${response}" | grep dname | sed -r "s/.*dname=\"([^\"]+)\".*/\\1/g")
for ITEM in ${domains_list} for ITEM in ${domains_list}; do
do
case "${domain}" in case "${domain}" in
*${ITEM}*) *${ITEM}*)
_domain=${ITEM} _domain=${ITEM}