Update serv00keep.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-03-02 21:32:25 +08:00
committed by GitHub
parent f74028bdb9
commit 7303c2dd0c
+1 -1
View File
@@ -67,7 +67,7 @@ fi
done <<< "$response"
fi
done
sort -u ip.txt -o ip.txt
grep ':' ip.txt | sort -u -o ip.txt
if [[ -z "$IP" ]]; then
IP=$(grep -m 1 "可用" ip.txt | awk -F ':' '{print $1}')
if [ -z "$IP" ]; then