Commit dbd94d04 authored by neilpang's avatar neilpang
Browse files

fix for aliyun api

parent be39ab32
...@@ -90,7 +90,7 @@ _printargs() { ...@@ -90,7 +90,7 @@ _printargs() {
if [ -z "$2" ]; then if [ -z "$2" ]; then
printf -- "[$(date)] $1" printf -- "[$(date)] $1"
else else
printf -- "[$(date)] $1='$2'" printf -- "%s" "[$(date)] $1='$2'"
fi fi
printf "\n" printf "\n"
} }
......
...@@ -26,6 +26,7 @@ dns_ali_add() { ...@@ -26,6 +26,7 @@ dns_ali_add() {
return 1 return 1
fi fi
_debug "Add record"
_add_record_query "$_domain" "$_sub_domain" "$txtvalue" && _ali_rest "Add record" _add_record_query "$_domain" "$_sub_domain" "$txtvalue" && _ali_rest "Add record"
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment