bus: don't include the introspected object in list of subobjects

This commit is contained in:
Lennart Poettering 2013-10-29 21:37:07 +01:00
parent 0aa5b4d1f7
commit dd8243a3ba

View file

@ -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);