mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-24 10:35:13 +00:00
Fix #86, patch from jsbid1 gmail.com
This commit is contained in:
parent
244a47efb8
commit
7ae8d04955
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user