Ver código fonte

修复锐速检测错误

修复锐速检测错误
Chikage 8 anos atrás
pai
commit
429e492686
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      tcp.sh

+ 2 - 2
tcp.sh

@@ -10,7 +10,7 @@ export PATH
 #	Blog: https://www.94ish.me/
 #=================================================
 
-sh_ver="1.0"
+sh_ver="1.0.1"
 github="raw.githubusercontent.com/chiakge/Linux-NetSpeed/master"
 
 Green_font_prefix="\033[32m" && Red_font_prefix="\033[31m" && Green_background_prefix="\033[42;37m" && Red_background_prefix="\033[41;37m" && Font_color_suffix="\033[0m"
@@ -414,7 +414,7 @@ check_status(){
 	if [[ ${kernel_status} == "Lotserver" ]]; then
 		if [[ -e /appex/bin/serverSpeeder.sh ]]; then
 			run_status=`bash /appex/bin/serverSpeeder.sh status | grep "ServerSpeeder" `]
-			if [[ ${run_status} == "Lotserver" ]]; then
+			if [[ ${run_status} == "ServerSpeeder is running!" ]]; then
 				run_status="启动成功"
 			else 
 				run_status="启动失败"