mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 22:12:44 +00:00
Merge 349496ddcad239e46e32c19b194a8346043d286b into 08b4e1a744000db29a0014de86684701602575c1
This commit is contained in:
commit
70dedabdd4
4
acme.sh
4
acme.sh
@ -102,6 +102,10 @@ __INTERACTIVE=""
|
|||||||
if [ -t 1 ]; then
|
if [ -t 1 ]; then
|
||||||
__INTERACTIVE="1"
|
__INTERACTIVE="1"
|
||||||
fi
|
fi
|
||||||
|
if [[ "$TERM" =~ "^vt" ]]
|
||||||
|
then
|
||||||
|
unset __INTERACTIVE
|
||||||
|
fi
|
||||||
|
|
||||||
__green() {
|
__green() {
|
||||||
if [ "$__INTERACTIVE${ACME_NO_COLOR}" = "1" ]; then
|
if [ "$__INTERACTIVE${ACME_NO_COLOR}" = "1" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user