From: Michael Tremer Date: Mon, 18 May 2026 15:55:50 +0000 (+0000) Subject: main: Cleanup the zone if we could not load it X-Git-Tag: 0.0.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88038a357f739fabce3609eb1484479ad4666315;p=zone-sync.git main: Cleanup the zone if we could not load it Signed-off-by: Michael Tremer --- diff --git a/main.c b/main.c index 41541f1..95c0755 100644 --- a/main.c +++ b/main.c @@ -392,7 +392,7 @@ static void do_zone(const char* name) { default: ERROR("Failed to load zone: %s\n", isc_result_totext(r)); - break; + goto ERROR; } // Done