]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] fixed call to chroot() during startup
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Oct 2007 16:57:08 +0000 (18:57 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Oct 2007 12:49:21 +0000 (14:49 +0200)
commit04ebd52b42f9ba76472d5ef3ed874a0f390e0fff
treef6c8b567181754d975933bb97d797b6bcd41c6de
parentda14404d2747a8153bb972d1baee326778cb007d
[MEDIUM] fixed call to chroot() during startup

It wasn't very wise to chroot() early during the startup. Also,
the exit() was missing if the chroot() failed.
src/haproxy.c