make the service running trigger be queued directly after the service was startetd
authorJohn Crispin <blogic@openwrt.org>
Mon, 18 Nov 2013 10:32:47 +0000 (11:32 +0100)
committerJohn Crispin <blogic@openwrt.org>
Mon, 18 Nov 2013 10:32:47 +0000 (11:32 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
service/service.c

index aa393b97c904a46c743e92b82018440f556ae0de..4153fec917053f27476c6618678c855268233e5a 100644 (file)
@@ -139,7 +139,7 @@ service_update(struct service *s, struct blob_attr *config, struct blob_attr **t
                        vlist_flush(&s->instances);
        }
 
-       rc(s->name, "running");
+       rcnow(s->name, "running");
 
        return 0;
 }