mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
blockcheck: increase netcat timeout to 2 sec
This commit is contained in:
parent
c179b3e474
commit
074c8ca913
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user