commit | 1cc17b2f2fe93fdf71ffb650c6013b7560dd2d2f | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Mar 17 11:27:00 2021 -0700 |
committer | Rob Landley <rob@landley.net> | Wed Mar 17 20:44:57 2021 -0500 |
tree | e54bc72d34d6b7be2615e1f6123939498591c19f | |
parent | 620eeaf2fca0ebeb1179ffdc9bdf5d923691558c [diff] |
init: fix waitforpid(). The kill(2) should be checking whether `pid` still exists, not the process that wait(2) just told us has exited.