diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/service.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/service/service.c b/service/service.c index 6426929..74feded 100644 --- a/service/service.c +++ b/service/service.c @@ -453,6 +453,9 @@ service_start_early(char *name, char *cmdline) void service_event(const char *type, const char *service, const char *instance) { + if (!ctx) + return; + blob_buf_init(&b, 0); blobmsg_add_string(&b, "service", service); if (instance) |