Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shell: Do not assume that wstatus is valid after wait() returns 0
According to the linux waitid manpage, the value of wstatus is unspecified if wait() returns 0, so we should not assume that any value it holds is correct (including the exit code). This is only applicable to the Lagom build.
- Loading branch information