]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mworker: only write to pidfile if it exists
authorWilly Tarreau <w@1wt.eu>
Tue, 23 Jan 2018 18:20:19 +0000 (19:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Jan 2018 18:20:19 +0000 (19:20 +0100)
commit46ec48bc1ad81cdf10aacfd5d7b2911c0ef2b0df
treeb5c2a16392792c64d6d60a1193c2f1478971944a
parent1605c7ae6154d8c2cfcf3b325872b1a7266c5bc2
BUG/MINOR: mworker: only write to pidfile if it exists

A missing test causes a write(-1, $PID) to appear in strace output when
in master-worker mode. This is totally harmless though.

This fix must be backported to 1.8.
src/haproxy.c