diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2019-02-25 17:32:12 -0600 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2019-02-25 18:55:13 -0600 |
commit | 0d378974bfbd69c5427d44c0a43a9f36389aa235 (patch) | |
tree | 4b9465c29a28ad51d321f503da626e7790e18fbd /support/init.d.examples/ntpd.in | |
parent | 028da5c2e37d81d4e242a546eb48a20eafe0cc56 (diff) |
openrc-init: fix waitpid checks
The do_openrc() function was not waiting properly for the child process
which started the runlevel to return. We need to repeatedly call
waitpid() until its return value matches the pid of the child process or
the child process does not exist.
This fixes #216.
This fixes #300.
Diffstat (limited to 'support/init.d.examples/ntpd.in')
0 files changed, 0 insertions, 0 deletions