commit | 1499b9b7efedf6162d3e4744993558c28bdca77c | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Wed Jun 07 15:04:47 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jun 08 20:41:57 2017 +0200 |
tree | ac811fa99faa0847cadb37533c7f60d25d12c427 | |
parent | cc9b94ac943caaa0292ca047a63f64a382d85d80 [diff] |
BUG/MEDIUM: misplaced exit and wrong exit code Commit cb11fd2 ("MEDIUM: mworker: wait mode on reload failure") introduced a regression, when HAProxy is used in daemon mode, it exits 1 after forking its children. HAProxy should exit(0), the exit(EXIT_FAILURE) was expected to be use when the master fail in master-worker mode. Thanks to Emmanuel Hocdet for reporting this bug. No backport needed.