diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-05-08 01:50:49 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-05-08 02:08:00 +0200 |
commit | 62133a68b7a1aecf65765f7137ef8d6e0eed913e (patch) | |
tree | f271dc8b24c4db4f7b054b633c4fa6f6e2157d5c /lib/init | |
parent | 13aa3840cc94ce37ef1e63c093c0f71ac84e90fd (diff) |
Cleanup: complete redesign of the initd supervisor
- Cleanly seperate service description parsed from file
from the actual run-time data.
- Remove the use of the signalfd and make asyncronous calls
into the supervisor from signal context work.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/init')
-rw-r--r-- | lib/init/rdsvc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/init/rdsvc.c b/lib/init/rdsvc.c index 7f7bc29..09ed156 100644 --- a/lib/init/rdsvc.c +++ b/lib/init/rdsvc.c @@ -243,7 +243,6 @@ service_t *rdsvc(int dirfd, const char *filename) goto fail_oom; memcpy(svc->name, filename, nlen); - svc->id = -1; if (rdcfg(svc, &rd, svc_params, sizeof(svc_params) / sizeof(svc_params[0]))) { |