commit | 9e43e2e47cc16d9713a1f804b08dfe36d49e08f2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 25 15:50:47 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 24 19:32:45 2016 +0100 |
tree | a3c258355b4f4981042cd4cb22a1409b1cb7e687 | |
parent | e72f43d8462b61f07e959194f613588ed2f69349 [diff] |
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. (cherry picked from commit 7643d09dca4d0eed97ba3c29d4f4fd1f037f96ae) (cherry picked from commit 03c706d71e2d314670d2ebb4dfa48fd3b793b361)