Merge 349496ddcad239e46e32c19b194a8346043d286b into 08b4e1a744000db29a0014de86684701602575c1

This commit is contained in:
tx-acme 2017-06-18 14:14:25 +00:00 committed by GitHub
commit 70dedabdd4

View File

@ -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