POSIX Shell

This commit is contained in:
JimChenWYU
2024-09-24 15:12:16 +08:00
parent 180905ecba
commit 2252ac9592

View File

@@ -8,7 +8,7 @@ PORT=9000
while true; do
nc -zv ${IP} ${PORT}
if [ "$?" == "0" ]; then
if [ "$?" -eq "0" ]; then
exit 0
fi
sleep 2