syslogd was leaking processes that could forever busyloop. Fixed.

-Erik
This commit is contained in:
Eric Andersen 2000-08-20 06:11:32 +00:00
parent e89267c8b3
commit b2fc5a0647
2 changed files with 8 additions and 2 deletions

View File

@ -371,9 +371,12 @@ static void doSyslogd (void)
continue;
}
if (pid == 0)
if (pid == 0) {
serveConnection (conn);
close (conn);
exit( TRUE);
}
close (conn);
}
}
}

View File

@ -371,9 +371,12 @@ static void doSyslogd (void)
continue;
}
if (pid == 0)
if (pid == 0) {
serveConnection (conn);
close (conn);
exit( TRUE);
}
close (conn);
}
}
}