MEDIUM: mworker: exit with the incriminated exit code
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 6 Nov 2018 16:37:14 +0000 (17:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Nov 2018 17:28:33 +0000 (18:28 +0100)
commit91723745c610f6c3f887e768b1e4b19a0baaa46c
tree4897f40fccc14daa4e78829938edb18ddb529589
parent18e52a8834a047e98f39828d55c573720d183ebc
MEDIUM: mworker: exit with the incriminated exit code

The former behavior was to exit() the master process with the latest
status code known, which was the one of the last process to exit.

The problem is that the master process was not exiting with the status
code which provoked the exit-on-failure.
src/haproxy.c