summaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-20 19:00:12 +0100
committerJohn Crispin <blogic@openwrt.org>2013-11-20 20:22:39 +0100
commit21d307367eb991f7494ce43087a5edb94288d08f (patch)
tree7d312a8cb3bd44580cbd81974b78761bd5a5e084 /service
parent84a6256a01c45079e8a27e37a0fe8715f2254c7b (diff)
downloadunitd-21d307367eb991f7494ce43087a5edb94288d08f.tar
unitd-21d307367eb991f7494ce43087a5edb94288d08f.zip
fix rcS memory leaks and running hook
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'service')
-rw-r--r--service/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/service.c b/service/service.c
index d084371..3ec24c3 100644
--- a/service/service.c
+++ b/service/service.c
@@ -139,7 +139,7 @@ service_update(struct service *s, struct blob_attr *config, struct blob_attr **t
vlist_flush(&s->instances);
}
- rcnow(s->name, "running");
+ rc(s->name, "running");
return 0;
}