]> git.ipfire.org Git - thirdparty/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>
Mon, 15 Oct 2007 16:57:08 +0000 (18:57 +0200)
commitf223cc0b5c847c40060cc764cc49ac0088903a9f
tree5672573fe079346943f7eeaf7f30dad3032ec195
parente94ebd0e37cb60c65549debb15f1965dab988df1
[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