commit | 47f922dd244a277cf41eba8bc93c9d660a884ed3 | [log] [tgz] |
---|---|---|
author | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | Tue Apr 02 13:53:21 2013 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 02 14:34:51 2013 +0200 |
tree | f911f8970ca69631f82af497566f3a097f40e4f5 | |
parent | a890d072fc11b0c0b6e20b82ff98dcf945d28232 [diff] |
BUG/MEDIUM: systemd-wrapper: don't leak zombie processes Formerly, if A was replaced by B, and then B by C before A finished exiting, we didn't wait for B to finish so it ended up as a zombie process. Fix this by waiting randomly every child we spawn. Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>