Skip to content

Commit

Permalink
Merge pull request #316 from pwieczorkiewicz/pull_in_fix
Browse files Browse the repository at this point in the history
fsm: in pull in check empty config on children
  • Loading branch information
mtomaschewski committed Jul 11, 2014
2 parents d01d108 + c05305e commit e96142d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/fsm.c
Expand Up @@ -2176,8 +2176,9 @@ __ni_fsm_pull_in_children(ni_ifworker_t *w, ni_ifworker_array_t *array)
for (i = 0; i < w->children.count; i++) {
ni_ifworker_t *child = w->children.data[i];

if (xml_node_is_empty(w->config.node)) {
ni_debug_application("%s: ignoring dependent child - no config", w->name);
if (xml_node_is_empty(child->config.node)) {
ni_debug_application("%s: ignoring dependent child %s - no config",
w->name, child->name);
continue;
}

Expand Down

0 comments on commit e96142d

Please sign in to comment.