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

Test process exists before signaling #14

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

Conversation

n1koo
Copy link

@n1koo n1koo commented Oct 26, 2020

Didn't realise to keep the error on this one unfortunately but this change fixes an edgecase where eg. Kubernetes signals the process to exit but its already gone at that point.

Using signal 0 means we just test if the process is still there and then when can proceed to give pipe in the actual signal we go

@karlkfi karlkfi closed this Jul 2, 2021
@karlkfi karlkfi reopened this Jul 2, 2021
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.

2 participants