mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-11-13 20:42: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
|
local timeout=15
|
||||||
@ -41,7 +41,7 @@ function network()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
network
|
network-check
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "$TRANSHELL_CONTENT_NETWORK_FAIL"
|
echo "$TRANSHELL_CONTENT_NETWORK_FAIL"
|
||||||
exit -1
|
exit -1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user