diff options
author | Lukáš Nykrýn <lnykryn@redhat.com> | 2016-07-16 21:04:13 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-16 15:04:13 -0400 |
commit | ccc2c98e1b0c06861577632440b996ca16cefd53 (patch) | |
tree | c5c2739229963c31b6ff9bbcc6a0205d086477dc /network | |
parent | 7fbbf283c8b1cebf29d14acf9ff6587ad525cbc2 (diff) |
manager: don't skip sigchld handler for main and control pid for services (#3738)
During stop when service has one "regular" pid one main pid and one
control pid and the sighld for the regular one is processed first the
unit_tidy_watch_pids will skip the main and control pid and does not
remove them from u->pids(). But then we skip the sigchld event because we
already did one in the iteration and there are two pids in u->pids.
v2: Use general unit_main_pid() and unit_control_pid() instead of
reaching directly to service structure.
Diffstat (limited to 'network')
0 files changed, 0 insertions, 0 deletions