mirror of
https://github.com/wnlen/clash-for-linux.git
synced 2026-03-21 13:56:39 +08:00
Update start.sh
This commit is contained in:
7
start.sh
7
start.sh
@ -477,8 +477,11 @@ if [ "$SKIP_CONFIG_REBUILD" != "true" ] && [ "$CLASH_AUTO_UPDATE" = "true" ]; th
|
||||
status_code=""
|
||||
ReturnStatus=1
|
||||
else
|
||||
echo "$status_code" | grep -E '^[23][0-9]{2}$' &>/dev/null
|
||||
ReturnStatus=$?
|
||||
if [[ "$status_code" =~ ^[23][0-9]{2}$ ]]; then
|
||||
ReturnStatus=0
|
||||
else
|
||||
ReturnStatus=1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$ReturnStatus" -eq 0 ]; then
|
||||
|
||||
Reference in New Issue
Block a user