mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 14:42:54 +01:00
chore: clarify timeout message
This commit is contained in:
1 parent
031df3a62f
commit
1eed01623a
1 file changed
+1
-1
+1
-1
@@ -671,7 +671,7 @@ test_ping(){
|
|||||||
local qport="$2"
|
local qport="$2"
|
||||||
local res
|
local res
|
||||||
res=$(ping -c1 -4 -W0.5 $1 | grep time= | awk -F= '{print $4}')
|
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"
|
printf "%s" "$res"
|
||||||
}
|
}
|
||||||
show_server_modlist(){
|
show_server_modlist(){
|
||||||
|
|||||||
Reference in new issue
Block a user