1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2024-12-28 21:32:36 +01:00

chore: clarify timeout message

This commit is contained in:
aclist 2024-11-13 05:53:44 +09:00
parent 031df3a62f
commit 1eed01623a

View file

@ -671,7 +671,7 @@ test_ping(){
local qport="$2"
local res
res=$(ping -c1 -4 -W0.5 $1 | grep time= | awk -F= '{print $4}')
[[ ! $? -eq 0 ]] && res="Unreachable"
[[ ! $? -eq 0 ]] && res="Timed out"
printf "%s" "$res"
}
show_server_modlist(){