From 9fd8f5e66352397243a8d5618ef296989823fa69 Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Sun, 10 Oct 2021 21:18:57 +0800 Subject: [PATCH] =?UTF-8?q?V6.6.6=20=E7=B2=BE=E7=AE=80=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/AutoUpdate.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index 86e090b..569162f 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -3,7 +3,7 @@ # AutoUpdate for Openwrt # Dependences: bash wget-ssl/wget/uclient-fetch curl openssl jsonfilter -Version=V6.6.5 +Version=V6.6.6 function TITLE() { clear && echo "Openwrt-AutoUpdate Script by Hyy2001 ${Version}" @@ -111,12 +111,7 @@ function CHECK_ENV() { } function EXIT() { - case $1 in - 0 | 1) - LOGGER "[${COMMAND}] 运行结束 $1" - ;; - esac - exit + exit $1 } function ECHO() { @@ -931,7 +926,6 @@ function NETWORK_CHECK() { } function AutoUpdate_Main() { - LOGGER "[${COMMAND}] 开始运行" if [[ ! $1 =~ (-H|--help) ]];then [[ ! -f ${Default_Variable} ]] && { ECHO r "脚本运行环境检测失败,无法正常运行脚本!" @@ -1053,7 +1047,7 @@ function AutoUpdate_Main() { case "$1" in [Cc]loud) shift - ANALYSIS_API + ANALYSIS_API > /dev/null 2>&1 GET_CLOUD_INFO $* version ;; *)