bus: don't include the introspected object in list of subobjects
This commit is contained in:
parent
0aa5b4d1f7
commit
dd8243a3ba
|
@ -63,7 +63,7 @@ int introspect_write_child_nodes(struct introspect *i, Set *s, const char *prefi
|
|||
const char *e;
|
||||
|
||||
e = object_path_startswith(node, prefix);
|
||||
if (e)
|
||||
if (e && e[0])
|
||||
fprintf(i->f, " <node name=\"%s\"/>\n", e);
|
||||
|
||||
free(node);
|
||||
|
|
Loading…
Reference in a new issue