From 8b9309ee41b8d36174f2edd4a4a3fa5169b71801 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 12 Jul 2016 12:24:28 +0200 Subject: [PATCH] Fix regression in starting internal inetd services Signed-off-by: Joachim Nilsson --- inetd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/inetd.c b/inetd.c index 2da632c3..7c200e59 100755 --- a/inetd.c +++ b/inetd.c @@ -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 * must *not* copy the watcher data to the clone! */ task->inetd.svc = svc; + task->inetd.cmd = svc->inetd.cmd; task->inetd.type = svc->inetd.type; memcpy(task->cond, svc->cond, sizeof(task->cond));