mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
blockcheck: clear PID before trap
This commit is contained in:
parent
ccef583704
commit
fdf6f8b1f8
@ -651,8 +651,8 @@ require_root
|
|||||||
check_dns
|
check_dns
|
||||||
ask_params
|
ask_params
|
||||||
|
|
||||||
trap 'sigint' 2
|
|
||||||
PID=
|
PID=
|
||||||
|
trap 'sigint' 2
|
||||||
[ "$ENABLE_HTTP" = 1 ] && check_domain_http $DOMAIN
|
[ "$ENABLE_HTTP" = 1 ] && check_domain_http $DOMAIN
|
||||||
[ "$ENABLE_HTTPS_TLS12" = 1 ] && check_domain_https_tls12 $DOMAIN
|
[ "$ENABLE_HTTPS_TLS12" = 1 ] && check_domain_https_tls12 $DOMAIN
|
||||||
[ "$ENABLE_HTTPS_TLS13" = 1 ] && check_domain_https_tls13 $DOMAIN
|
[ "$ENABLE_HTTPS_TLS13" = 1 ] && check_domain_https_tls13 $DOMAIN
|
||||||
|
Loading…
Reference in New Issue
Block a user