"referenced entity .* not found" message fixed to be fatal
[tac_plus.git] / cfgfile.c
index 7c2353a..358e962 100644 (file)
--- a/cfgfile.c
+++ b/cfgfile.c
@@ -1091,7 +1091,8 @@ enlist_entity_connect()
            item->child = NULL;         /* don't free string ref'ed from 'child_entity'! */
        }
 
-       enlist_entity_direct(parent_entity, child_entity, item->when);
+       if (!enlist_entity_direct(parent_entity, child_entity, item->when))
+           return (1);         /* entities not found */
 
        enlist_entity_list = item->next;
        item->when = NULL;