fix rcS memory leaks and running hook
[project/procd.git] / service / service.c
index d084371..3ec24c3 100644 (file)
@@ -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;
 }