mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 19:29:02 +00:00
syslogd was leaking processes that could forever busyloop. Fixed.
-Erik
This commit is contained in:
parent
e89267c8b3
commit
b2fc5a0647
@ -371,8 +371,11 @@ static void doSyslogd (void)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pid == 0)
|
if (pid == 0) {
|
||||||
serveConnection (conn);
|
serveConnection (conn);
|
||||||
|
close (conn);
|
||||||
|
exit( TRUE);
|
||||||
|
}
|
||||||
close (conn);
|
close (conn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user