]> git.ipfire.org Git - zone-sync.git/commitdiff
main: Set the correct path for the journal file
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 May 2026 14:20:31 +0000 (14:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 18 May 2026 14:20:31 +0000 (14:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
main.c

diff --git a/main.c b/main.c
index e96848dba1c1e6f5076ea2b8f439efc01428ca13..6f3ebf0d81f0dd5ad859faeac25a5e1331234688 100644 (file)
--- a/main.c
+++ b/main.c
@@ -372,7 +372,7 @@ static void do_zone(const char* name) {
        }
 
        // Set the path of the journal
-       r = dns_zone_setjournal(zone, path);
+       r = dns_zone_setjournal(zone, journal_path);
        if (r) {
                ERROR("Failed to set the zone's journal path: %s\n", isc_result_totext(r));
                goto ERROR;