diff options
author | John Crispin <blogic@openwrt.org> | 2013-07-10 12:55:37 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-10 12:55:37 +0200 |
commit | 4d06f2e9c8ce792ac531d29d44386c4cea9128ff (patch) | |
tree | 7699ac1771aed5394072c488124017017c3c7783 | |
parent | 35f0336c12d77226f4856d3d04415fbfee93b233 (diff) | |
download | unitd-4d06f2e9c8ce792ac531d29d44386c4cea9128ff.tar unitd-4d06f2e9c8ce792ac531d29d44386c4cea9128ff.zip |
print services with no instances when verbose is set
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r-- | service.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |