mbox

[v2,2/2] header-zone: refactor hook_config_destroy

Message ID 1500034782-14465-2-git-send-email-jonatan.schlag@ipfire.org
State New
Headers

Message

Jonatan Schlag July 14, 2017, 10:19 p.m. UTC
  We now just bring the hook down, execute hook_destroy which can be not empty inside the hook,
because it is defined in src/header-config.
After this we delete the config file.

Fixes: #11416

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
---
 src/header-config |  4 ++++
 src/header-zone   | 16 +++++++++++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)