- 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:
W.C.A. Wijngaards
2025-04-02 16:25:58 +02:00
parent a7704ad49f
commit ba18abcd35
4 changed files with 61 additions and 3 deletions
+3 -1
View File
@@ -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