From fdf6f8b1f89647379389fa369cc367d57620911a Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 10 Dec 2021 11:24:15 +0300 Subject: [PATCH] blockcheck: clear PID before trap --- blockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockcheck.sh b/blockcheck.sh index e557349..f73362e 100755 --- a/blockcheck.sh +++ b/blockcheck.sh @@ -651,8 +651,8 @@ require_root check_dns ask_params -trap 'sigint' 2 PID= +trap 'sigint' 2 [ "$ENABLE_HTTP" = 1 ] && check_domain_http $DOMAIN [ "$ENABLE_HTTPS_TLS12" = 1 ] && check_domain_https_tls12 $DOMAIN [ "$ENABLE_HTTPS_TLS13" = 1 ] && check_domain_https_tls13 $DOMAIN