commit | c438242878c8bdabffaef62dd2859920cc3e7d26 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Dec 06 13:10:44 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 06 13:10:44 2009 +0100 |
tree | d922a1474984fd904faa3aa1f20f7bfdd102444a | |
parent | d0f06fc4b2c912f9e0304d719c2f45461ba1ea39 [diff] |
[BUG] config: fix error message when config file is not found Cameron Simpson reported an annoying case where haproxy simply reports "Error(s) found in configuration file" when the file is not found or not readable. Fortunately the parsing function still returns -1 in case of open error, so we're able to detect the issue from the caller and report the corresponding errno message.