]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: startup: refactor "daemonization" fork
authorValentine Krasnobaeva <vkrasnobaeva@haproxy.com>
Thu, 27 Jun 2024 16:16:40 +0000 (18:16 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 16 Oct 2024 20:00:58 +0000 (22:00 +0200)
commit95c19be2abc3b2d4070c80344db7875adf23c22a
tree8459c649750c8a701cd0812bb87cafabb7cb6f60
parent90b8181c0a5a9a08b1fa2e77ebe28896fd2a9237
MINOR: startup: refactor "daemonization" fork

Let's put "daemonization" fork into a switch-case. This is more readable and we
don't need to allocate memory for the fork() return value here.
src/haproxy.c