From 24f500aec588f431a2a7d2d129133dbb449ea3e4 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 4 Jul 2016 10:17:17 +0200 Subject: [PATCH 1/1] Unblock all blocked hosts when exiting guardian. This commit will release all existing blocks when stopping guardian. Signed-off-by: Stefan Schantl --- guardian.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guardian.in b/guardian.in index 6896a27..bbf4eb5 100644 --- a/guardian.in +++ b/guardian.in @@ -480,6 +480,9 @@ sub Shutdown () { # Stop all workers. &StopWorkers(); + # Unblock all blocked hosts. + &Guardian::Events::CallFlush(); + # Remove socket file on exit. &Guardian::Socket::RemoveSocketFile(); -- 2.39.2