From e6561e0a076d142bf32af0f928612bed91cf5bf5 Mon Sep 17 00:00:00 2001 From: shenmo Date: Wed, 8 Mar 2023 00:35:57 +0800 Subject: [PATCH] reason6 --- tool/update-upgrade/ss-update-notifier.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/update-upgrade/ss-update-notifier.sh b/tool/update-upgrade/ss-update-notifier.sh index a4ba85d..5f3a8d0 100755 --- a/tool/update-upgrade/ss-update-notifier.sh +++ b/tool/update-upgrade/ss-update-notifier.sh @@ -21,7 +21,7 @@ function notify-send() { } # 检测网络链接畅通 -function network() +function network-check() { # 超时时间 local timeout=15 @@ -41,7 +41,7 @@ function network() fi } -network +network-check if [ $? -ne 0 ] ; then echo "$TRANSHELL_CONTENT_NETWORK_FAIL" exit -1