Merge pull request #774 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/549
This commit is contained in:
neil 2017-04-05 21:13:07 +08:00 committed by GitHub
commit 96f79475f1

View File

@ -107,7 +107,7 @@ __green() {
if [ "$__INTERACTIVE" ]; then
printf '\033[1;31;32m'
fi
printf -- "$1"
printf -- "%b" "$1"
if [ "$__INTERACTIVE" ]; then
printf '\033[0m'
fi
@ -117,7 +117,7 @@ __red() {
if [ "$__INTERACTIVE" ]; then
printf '\033[1;31;40m'
fi
printf -- "$1"
printf -- "%b" "$1"
if [ "$__INTERACTIVE" ]; then
printf '\033[0m'
fi