mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 22:13:01 +07:00
Regression, unblock (UDP) parent for terminating inetd connections
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+5
-4
@@ -869,17 +869,18 @@ void service_unregister(svc_t *svc)
|
||||
*/
|
||||
if (!svc_is_inetd_conn(svc))
|
||||
service_stop(svc);
|
||||
|
||||
if (!svc_is_inetd(svc)) {
|
||||
else {
|
||||
/* inetd connection, if UDP unblock parent */
|
||||
if (svc_is_busy(svc->inetd.svc)) {
|
||||
svc_unblock(svc->inetd.svc);
|
||||
service_step(svc->inetd.svc);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
|
||||
#ifdef INETD_ENABLED
|
||||
if (svc_is_inetd(svc))
|
||||
inetd_del(&svc->inetd);
|
||||
#endif
|
||||
}
|
||||
|
||||
svc_del(svc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user