mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-16 10:32:21 +08:00
reason6
This commit is contained in:
parent
9616deb4b6
commit
e6561e0a07
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user