]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] config: don't report error on all subsequent files on failure
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Dec 2009 20:46:25 +0000 (21:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Dec 2009 20:46:25 +0000 (21:46 +0100)
commit25a67fae3e2dd374c51c5e50633ea68b08157fab
tree6f0511de9a97de4a9b009c6a784e38524138ea12
parentc9a31da73f64a846c2a2f5606dcf965d2cca06a9
[MINOR] config: don't report error on all subsequent files on failure

Cyril Bonté found that when an error is detected in one config file, it
is also reported in all other ones, which is wrong. The fix obviously
consists in checking the return code from readcfgfile() and not the
accumulator.
src/haproxy.c