diff options
Diffstat (limited to 'src/libsystemd-bus/bus-introspect.c')
-rw-r--r-- | src/libsystemd-bus/bus-introspect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-introspect.c b/src/libsystemd-bus/bus-introspect.c index 92deb75dfd..9a49e431c0 100644 --- a/src/libsystemd-bus/bus-introspect.c +++ b/src/libsystemd-bus/bus-introspect.c @@ -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); |