fix for aliyun api

This commit is contained in:
neilpang 2016-11-24 22:27:14 +08:00
parent be39ab32d1
commit dbd94d047b
2 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,7 @@ _printargs() {
if [ -z "$2" ]; then
printf -- "[$(date)] $1"
else
printf -- "[$(date)] $1='$2'"
printf -- "%s" "[$(date)] $1='$2'"
fi
printf "\n"
}

View File

@ -26,6 +26,7 @@ dns_ali_add() {
return 1
fi
_debug "Add record"
_add_record_query "$_domain" "$_sub_domain" "$txtvalue" && _ali_rest "Add record"
}