blockcheck: wait for child processes on terminate

This commit is contained in:
bol-van 2025-01-04 09:11:30 +03:00
parent c6e729b237
commit f986da9ae2

View File

@ -2049,6 +2049,7 @@ unprepare_all()
{ {
# make sure we are not in a middle state that impacts connectivity # make sure we are not in a middle state that impacts connectivity
ws_kill ws_kill
wait
[ -n "$IPV" ] && { [ -n "$IPV" ] && {
pktws_ipt_unprepare_tcp 80 pktws_ipt_unprepare_tcp 80
pktws_ipt_unprepare_tcp 443 pktws_ipt_unprepare_tcp 443