mirror of
https://github.com/troglobit/finit.git
synced 2026-11-07 16:01:08 +00:00
Fix regression in starting built-in services, introduced in 5b9d990
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
ac17d7f5a7
commit
e8b942cf95
1 file changed
+3
@@ -900,6 +900,9 @@ int conf_init(uev_ctx_t *ctx)
|
|||||||
rlim2str(i), strerror(errno));
|
rlim2str(i), strerror(errno));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Initialize global rlimits, e.g. for built-in services */
|
||||||
|
memcpy(global_rlimit, initial_rlimit, sizeof(global_rlimit));
|
||||||
|
|
||||||
/* prepare /etc watcher */
|
/* prepare /etc watcher */
|
||||||
fd = iwatch_init(&iw_conf);
|
fd = iwatch_init(&iw_conf);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
|
|||||||
Reference in new issue
Block a user