diff --git a/src/lib66/service/service_graph_g.c b/src/lib66/service/service_graph_g.c index 5c90595afef7518d7fa55aed613216d011c78890..6b9b0601720c714b1a184109fee87628c38fb950 100644 --- a/src/lib66/service/service_graph_g.c +++ b/src/lib66/service/service_graph_g.c @@ -26,5 +26,9 @@ void service_graph_g(char const *alist, size_t alen, graph_t *graph, resolve_ser service_graph_collect(graph, alist, alen, ares, areslen, info, flag) ; + if (!*areslen) { + log_warn("no services matching the requirements at tree: ", info->treename.s) ; + return ; + } service_graph_build(graph, ares, (*areslen), flag) ; }