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:
Joachim Nilsson
2016-09-04 17:22:50 +02:00
parent 2681e4c01a
commit 2e7bee9f84
-1
View File
@@ -629,7 +629,6 @@ recreate:
if (inetd_new(&svc->inetd, name, service, proto, forking, svc)) {
_e("Failed registering new inetd service %s.", service);
inetd_del(&svc->inetd);
return svc_del(svc);
}