]> git.ipfire.org Git - people/ms/network.git/commit
zone: fix zone_new
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 19 Jul 2017 14:10:21 +0000 (16:10 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2017 17:10:12 +0000 (19:10 +0200)
commita63e51c6dfeeb50dc05a5af3539acb103606cf1f
tree37e0a2a9f6b009d2e6d72ed53db961af0251c698
parent79e5203ec294cb9f51a48d070b64c1ce79e28855
zone: fix zone_new

Everytime somethings goes wrong when we call hook_new we wannt to call zone_destroy.
Not only when we get an EXIT_ERROR also when we get an EXIT_CONF_ERROR and so on.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.zone