fix color when upgrade in cronjob

This commit is contained in:
neil 2016-09-20 20:34:33 +08:00
parent 89002ed298
commit 1ab630435d
1 changed files with 5 additions and 0 deletions

View File

@ -3033,6 +3033,11 @@ cron() {
fi
)
. $LE_WORKING_DIR/$PROJECT_ENTRY >/dev/null
if [ -t 1 ] ; then
__INTERACTIVE="1"
fi
_info "Auto upgraded to: $VER"
fi
renewAll