mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +00:00
Fix regression in starting internal inetd services
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
affc6a97b9
commit
8b9309ee41
1 file changed
+1
@@ -177,6 +177,7 @@ static void socket_cb(uev_t *UNUSED(w), void *arg, int UNUSED(events))
|
|||||||
/* Only copy the most relevant parts of inetd, in particular we
|
/* Only copy the most relevant parts of inetd, in particular we
|
||||||
* must *not* copy the watcher data to the clone! */
|
* must *not* copy the watcher data to the clone! */
|
||||||
task->inetd.svc = svc;
|
task->inetd.svc = svc;
|
||||||
|
task->inetd.cmd = svc->inetd.cmd;
|
||||||
task->inetd.type = svc->inetd.type;
|
task->inetd.type = svc->inetd.type;
|
||||||
|
|
||||||
memcpy(task->cond, svc->cond, sizeof(task->cond));
|
memcpy(task->cond, svc->cond, sizeof(task->cond));
|
||||||
|
|||||||
Reference in new issue
Block a user