commit | 5b56ea181649793918779dd2684c671072ce4bc9 | [log] [download] |
---|---|---|
author | Tiago Cunha <tcunha@gmx.com> | Sun Aug 09 17:19:18 2009 +0000 |
committer | Tiago Cunha <tcunha@gmx.com> | Sun Aug 09 17:19:18 2009 +0000 |
tree | 1debbcde3af4260db40f82735e2cc968d8dec438 | |
parent | 602aae783945d39450788de983318c0da5172315 [diff] |
Sync OpenBSD patchset 225: If there is an error in the configuration file, don't just exit(1) as this can cause the client to hang. Instead, send the error message, then mark the client as bad and start a normal shutdown so the server exits once the error is written. This also allows some code duplicating daemon(3) to be trimmed and logging to begin earlier. Prompted by Theo noticing the behaviour on error wasn't documented.