Fix #86, patch from jsbid1 gmail.com

This commit is contained in:
jsbid1 2010-02-08 16:09:45 +00:00 committed by Erik Ekman
parent 244a47efb8
commit 7ae8d04955
2 changed files with 6 additions and 0 deletions

View file

@ -29,6 +29,7 @@ CHANGES:
Patch by Anne Bezemer, merge help by logix.
- Merged low-latency patch from Anne Bezemer, fixes #76.
- Resolve client nameserver argument if given as hostname, fixes #82.
- Open log before chroot, fixes #86: logging on FreeBSD.
2009-06-01: 0.5.2 "WifiFree"
- Fixed client segfault on OS X, #57

View file

@ -2446,6 +2446,11 @@ main(int argc, char **argv)
if (pidfile != NULL)
do_pidfile(pidfile);
#ifdef FREEBSD
tzsetwall();
#endif
openlog( __progname, LOG_NDELAY, LOG_DAEMON );
if (newroot != NULL)
do_chroot(newroot);