From 0ba95a3dd4d628306e6cc4e2ac3536bcf9026b65 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 24 Sep 2016 13:43:08 +0800 Subject: [PATCH] fix auto upgrade --- acme.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/acme.sh b/acme.sh index 0ce08d69..0da53e88 100755 --- a/acme.sh +++ b/acme.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -VER=2.5.6 +VER=2.5.7 PROJECT_NAME="acme.sh" @@ -3189,7 +3189,6 @@ cron() { if [ "$AUTO_UPGRADE" ] ; then export LE_WORKING_DIR ( - . $LE_WORKING_DIR/$PROJECT_ENTRY >/dev/null if ! upgrade ; then _err "Cron:Upgrade failed!" return 1 @@ -3206,7 +3205,7 @@ cron() { renewAll _ret="$?" IN_CRON="" - return $_ret + exit $_ret } version() {