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

Issue 1428 fix no reload signal #1610

Merged
merged 2 commits into from
Aug 1, 2022
Merged

Conversation

eikenb
Copy link
Contributor

@eikenb eikenb commented Jul 30, 2022

Converted odd SIGNIL type that wouldn't work with syscall type assertion and allow for differentiating between it and an error into SIGNULL, syscall.Signal(0). SIGNULL works here as it allows for the type assertion to work and for a test to skip the signal when found. It is safe as it already exists in practice in a similar role with the POSIX kill command where it indidates no signal.

Fixes #1428
Fixes #1442

Converted odd SIGNIL type that wouldn't work with syscall type assertion
and allow for differentiating between it and an error into SIGNULL,
`syscall.Signal(0)`. SIGNULL works here as it allows for the type
assertion to work and for a test to skip the signal when found. It is
safe as it already exists in practice in a similar role with the POSIX
`kill` command where it indidates no signal.

The other changes here are to replace reference to the hold SIGNIL.
@eikenb eikenb requested a review from a team July 30, 2022 02:47
@eikenb eikenb added this to the v0.29.2 milestone Aug 1, 2022
@eikenb eikenb added the bug label Aug 1, 2022
@eikenb eikenb merged commit b0fc762 into main Aug 1, 2022
@eikenb eikenb deleted the issue-1428-fix-no-reload-signal branch August 1, 2022 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant