diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-08-20 10:11:32 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-08-20 10:11:32 +0400 |
commit | b2fc5a06479bb0fcf0f39bea756a5994cbca72b8 (patch) | |
tree | fa91582669bc2dfb81219fe65619932cc681bd07 /syslogd.c | |
parent | e89267c8b38a49dcb8983d4903328a3d079b2b15 (diff) |
syslogd was leaking processes that could forever busyloop. Fixed.
-Erik
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -371,8 +371,11 @@ static void doSyslogd (void) continue; } - if (pid == 0) + if (pid == 0) { serveConnection (conn); + close (conn); + exit( TRUE); + } close (conn); } } |