mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
minor
This commit is contained in:
parent
1643b476eb
commit
2d12b68952
16
acme.sh
16
acme.sh
@ -46,15 +46,23 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
__green() {
|
__green() {
|
||||||
printf '\033[1;31;32m'
|
if [ -t 1 ] ; then
|
||||||
|
printf '\033[1;31;32m'
|
||||||
|
fi
|
||||||
printf -- "$1"
|
printf -- "$1"
|
||||||
printf '\033[0m'
|
if [ -t 1 ] ; then
|
||||||
|
printf '\033[0m'
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
__red() {
|
__red() {
|
||||||
printf '\033[1;31;40m'
|
if [ -t 1 ] ; then
|
||||||
|
printf '\033[1;31;40m'
|
||||||
|
fi
|
||||||
printf -- "$1"
|
printf -- "$1"
|
||||||
printf '\033[0m'
|
if [ -t 1 ] ; then
|
||||||
|
printf '\033[0m'
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
_info() {
|
_info() {
|
||||||
|
Loading…
Reference in New Issue
Block a user