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

Remove non-zero exit code from hooks #285

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

Conversation

cgunther
Copy link

dehydrated runs with "-e", which exits on error, so when the invalid_challenge hook exited with a non-zero status (ie. error), that'd cause dehydrated to exit as well, and we'd never get to cleaning up these challenges, they'd just accumulate in storage indefinately.

By removing the non-zero exit code, dehydrated continues running, thus cleaning up the challenges.

As of dehydrated-io/dehydrated@4b7a1e4c, there's some logging around non-zero exit codes.

dehydrated runs with "-e", which exits on error, so when the
invalid_challenge hook exited with a non-zero status (ie. error), that'd
cause dehydrated to exit as well, and we'd never get to cleaning up
these challenges, they'd just accumulate in storage indefinately.

By removing the non-zero exit code, dehydrated continues running, thus
cleaning up the challenges.

As of dehydrated-io/dehydrated@4b7a1e4c,
there's some logging around non-zero exit codes.
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.

1 participant