On 02Dec2009 23:09, Willy Tarreau <[email protected]> wrote: | On Wed, Dec 02, 2009 at 02:48:21PM +1100, Cameron Simpson wrote: | > I just stumbled over a very minor problem with HAproxy's config file | > error reporting. This command: | > /usr/local/bin/haproxy-1.3.22 -f haproxy.TPROXY4.cfg | > produced: | > [ALERT] 335/144132 (7273) : Error(s) found in configuration file : haproxy.TPROXY4.cfg | > The actual problem is the the file "haproxy.TPROXY4.cfg" does not exist [...] | > Could this be changed to indicate failure to open the config file | > please? | | Oh yes, I've been hit exactly the same way once and it also got | me nervous. I quickly checked how this could be changed and from | my memories, it requires that we return an error code instead of | a boolean in the parser. Not much complicated in my opinion, I'll | add that to the todo list.
Thanks! Cheers, -- Cameron Simpson <[email protected]> DoD#743 http://www.cskk.ezoshosting.com/cs/ Displays are sold by the acre, not the function. - overhead by WIRED at the Intelligent Printing conference Oct2006

