From 4d06f2e9c8ce792ac531d29d44386c4cea9128ff Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 10 Jul 2013 12:55:37 +0200 Subject: print services with no instances when verbose is set Signed-off-by: John Crispin --- service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.c b/service.c index 4189e2d..561c76c 100644 --- a/service.c +++ b/service.c @@ -220,7 +220,7 @@ service_dump(struct service *s, int verbose) struct service_instance *in; void *c, *i; - if (avl_is_empty(&s->instances.avl)) + if (avl_is_empty(&s->instances.avl) && !verbose) return; c = blobmsg_open_table(&b, s->name); -- cgit v1.2.3