Browse Source

minor

pull/279/head
neil 8 years ago
parent
commit
2d12b68952
  1. 8
      acme.sh

8
acme.sh

@ -46,15 +46,23 @@ fi
__green() { __green() {
if [ -t 1 ] ; then
printf '\033[1;31;32m' printf '\033[1;31;32m'
fi
printf -- "$1" printf -- "$1"
if [ -t 1 ] ; then
printf '\033[0m' printf '\033[0m'
fi
} }
__red() { __red() {
if [ -t 1 ] ; then
printf '\033[1;31;40m' printf '\033[1;31;40m'
fi
printf -- "$1" printf -- "$1"
if [ -t 1 ] ; then
printf '\033[0m' printf '\033[0m'
fi
} }
_info() { _info() {

Loading…
Cancel
Save