mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +00:00
Fix #36: Don't delete inetd on failed registration
This patch fixes to root cause to issue #36, reported by Markus Svilans. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
2681e4c01a
commit
2e7bee9f84
1 file changed
-1
@@ -629,7 +629,6 @@ recreate:
|
|||||||
|
|
||||||
if (inetd_new(&svc->inetd, name, service, proto, forking, svc)) {
|
if (inetd_new(&svc->inetd, name, service, proto, forking, svc)) {
|
||||||
_e("Failed registering new inetd service %s.", service);
|
_e("Failed registering new inetd service %s.", service);
|
||||||
inetd_del(&svc->inetd);
|
|
||||||
return svc_del(svc);
|
return svc_del(svc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user