mirror of
https://github.com/bol-van/zapret.git
synced 2026-03-14 09:11:49 +00:00
blockcheck: clear PID before trap
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user