Skip to content
Snippets Groups Projects

Event error reporting in "knotc -b" and some event handlers updates

Merged David Vasek requested to merge event_handlers_updates into master
Viewing commit 02eb8b40
Next
Show latest version
1 file
+ 2
7
Preferences
Compare changes
/* Copyright (C) 2019 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
/* Copyright (C) 2021 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -29,10 +29,5 @@ int event_flush(conf_t *conf, zone_t *zone)
return KNOT_EOK;
}
int ret = zone_flush_journal(conf, zone, true);
if (ret != KNOT_EOK) {
return ret;
}
return KNOT_EOK;
return zone_flush_journal(conf, zone, true);
}