]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: systemd: make the wrapper return a non-null status code on error
authorWilly Tarreau <w@1wt.eu>
Tue, 25 Oct 2016 13:50:47 +0000 (15:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 25 Oct 2016 15:36:20 +0000 (17:36 +0200)
commit7643d09dca4d0eed97ba3c29d4f4fd1f037f96ae
tree6742b9728a1bcf17e04786a086ca0830c3e12cf6
parent07c3d78c2c0693ee37db71c34723597638b6ab3f
BUG/MINOR: systemd: make the wrapper return a non-null status code on error

When execv() fails to execute the haproxy executable, it's important to
return an error instead of pretending everything is cool. This fix should
be backported to 1.6 and 1.5 in order to improve the overall reliability
under systemd.
src/haproxy-systemd-wrapper.c