Avoid hanging if a BGPROCESS is not a child of dinit, by probing
authorDavin McCall <davmac@davmac.org>
Tue, 7 Jun 2016 07:30:00 +0000 (08:30 +0100)
committerDavin McCall <davmac@davmac.org>
Tue, 7 Jun 2016 07:30:00 +0000 (08:30 +0100)
commitad1821f69ee17aa67a3a0ba908c01dbcbd69d90b
tree6a4734d9496410b51a977c5c5f69eb114325ca77
parentecaeabff8ade7947018e4b9408c44f47e501e76d
Avoid hanging if a BGPROCESS is not a child of dinit, by probing
status with waitpid() and assuming the process is stopped if it
is not a child.
src/service.cc