Commit 86dd2ee1 authored by Daniel Salzman's avatar Daniel Salzman

conf: fix duplicate include callback execution

parent df196c25
Pipeline #4962 passed with stages
in 3 minutes and 48 seconds
......@@ -460,8 +460,8 @@ static int finalize_previous_section(
{
yp_node_t *node = &ctx->nodes[0];
// Return if no previous section or empty multi-section.
if (node->item == NULL ||
// Return if no previous section or include or empty multi-section.
if (node->item == NULL || node->item->type != YP_TGRP ||
(node->id_len == 0 && (node->item->flags & YP_FMULTI) != 0)) {
return KNOT_EOK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment