blockcheck: increase netcat timeout to 2 sec

This commit is contained in:
bol-van 2024-09-18 14:51:39 +03:00
parent c179b3e474
commit 074c8ca913

View File

@ -293,7 +293,7 @@ netcat_test()
# $2 - port
local cmd
netcat_setup && {
cmd="$NCAT -z -w 1 $1 $2"
cmd="$NCAT -z -w 2 $1 $2"
echo $cmd
$cmd 2>&1
}