From dbd94d047bb7f403cd875096a41086d6c004881e Mon Sep 17 00:00:00 2001 From: neilpang Date: Thu, 24 Nov 2016 22:27:14 +0800 Subject: [PATCH] fix for aliyun api --- acme.sh | 2 +- dnsapi/dns_ali.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 674a428e..f695ded9 100755 --- a/acme.sh +++ b/acme.sh @@ -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" } diff --git a/dnsapi/dns_ali.sh b/dnsapi/dns_ali.sh index 97b450a1..30867219 100644 --- a/dnsapi/dns_ali.sh +++ b/dnsapi/dns_ali.sh @@ -26,6 +26,7 @@ dns_ali_add() { return 1 fi + _debug "Add record" _add_record_query "$_domain" "$_sub_domain" "$txtvalue" && _ali_rest "Add record" }