Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wait.h: fix wait_exitcode macro. #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

wait.h: fix wait_exitcode macro. #17

wants to merge 1 commit into from

Conversation

ericonr
Copy link
Member

@ericonr ericonr commented Aug 28, 2021

Apparently a mistake from copy pasting. This was hiding the actual exit
codes (usually became only 0), so much of the logic around detecting
return codes from children was wrong. This includes runit and stage 2:
runsvdir exiting due to a signal or crash should have prompted runit to
try and start stage 2 anew; instead, it was just proceeding with the
poweroff sequence.

Apparently a mistake from copy pasting. This was hiding the actual exit
codes (usually became only 0), so much of the logic around detecting
return codes from children was wrong. This includes runit and stage 2:
runsvdir exiting due to a signal or crash should have prompted runit to
try and start stage 2 anew; instead, it was just proceeding with the
poweroff sequence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant