diff options
-rw-r--r-- | service.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -212,6 +212,9 @@ service_dump(struct service *s, int verbose) struct service_instance *in; void *c, *i; + if (avl_is_empty(&s->instances.avl)) + return; + c = blobmsg_open_table(&b, s->name); i = blobmsg_open_table(&b, "instances"); if (verbose && s->trigger) |