diff options
-rw-r--r-- | sysklogd/syslogd.c | 5 | ||||
-rw-r--r-- | syslogd.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index dfc933dbf..9a77b5f75 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -371,8 +371,11 @@ static void doSyslogd (void) continue; } - if (pid == 0) + if (pid == 0) { serveConnection (conn); + close (conn); + exit( TRUE); + } close (conn); } } @@ -371,8 +371,11 @@ static void doSyslogd (void) continue; } - if (pid == 0) + if (pid == 0) { serveConnection (conn); + close (conn); + exit( TRUE); + } close (conn); } } |