[Toybox] [PATCH] init: fix waitforpid().

enh enh at google.com
Wed Mar 17 11:28:28 PDT 2021


The kill(2) should be checking whether `pid` still exists, not the
process that wait(2) just told us has exited.
---
 toys/pending/init.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210317/43f8e9af/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-init-fix-waitforpid.patch
Type: text/x-patch
Size: 873 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210317/43f8e9af/attachment-0002.bin>


More information about the Toybox mailing list