mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-11 12:27:43 +02:00
- Fix that ub_event has the facility to deal with callbacks for
fast reload, doq, windows-stop and dnstap. - Fix fast reload test to check if pid exists before acting on it.
This commit is contained in:
+3
-1
@@ -10,7 +10,9 @@ PRE="../.."
|
||||
kill_pid $NS1_PID
|
||||
kill_pid $NS2_PID
|
||||
if test -f unbound.pid; then
|
||||
kill_pid $UNBOUND_PID
|
||||
if kill -0 $UNBOUND_PID >/dev/null 2>&1; then
|
||||
kill_pid $UNBOUND_PID
|
||||
fi
|
||||
fi
|
||||
rm -f $CONTROL_PATH/controlpipe.$CONTROL_PID
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user