Skip to content
Snippets Groups Projects
Commit 3c88cd61 authored by Dominik Taborsky's avatar Dominik Taborsky
Browse files

zone-load: fix making EOK an error

parent c0e422bd
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ int zone_load_post(conf_t *conf, zone_t *zone, zone_contents_t *contents,
if (ret == KNOT_ESPACE) {
log_zone_error(zone->name, "journal size is too small "
"to fit the changes");
} else {
} else if (ret != KNOT_EOK) {
log_zone_error(zone->name, "failed to store changes into "
"journal (%s)", knot_strerror(ret));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment