From 2909bb74c203a1833c295dd5c9ea501cac3c8a3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=AC=E5=93=A5=E4=BE=83=E4=BE=83=E4=BE=83ygkkk?= Date: Fri, 7 Apr 2023 08:09:30 +0000 Subject: [PATCH] Update 661.sh --- 661.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/661.sh b/661.sh index 4afa16e..913651d 100644 --- a/661.sh +++ b/661.sh @@ -500,7 +500,7 @@ green "3. 刷warp+流量" readp "请选择:" warptools if [[ $warptools == 1 ]]; then name=`screen -ls | grep '(Detached)' | awk '{print $1}' | awk -F "." '{print $2}'` -[[ echo $name | grep -q "up" ]] && screen -Ur up || red "未启动WARP监测功能,请选择2再次启动" +[[ $name =~ "up" ]] && screen -Ur up || red "未启动WARP监测功能,请选择2再次启动" fi if [[ $warptools == 2 ]]; then if [[ -f /root/WARP-UP.sh ]]; then