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

don't set a trap for SIGINT (EXIT trap is still called) #211

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

robstoll
Copy link
Member

also a SIGINT trap without an own exit will cause that the function execution continues even if set -e is set if the function is called in a conditional (while and so on). i.e. not only set -e is deactivated but also a trap for SIGINT without explicit exit no longer exits


I confirm that I have read the Contributor Agreement v1.1, agree to be bound on them and confirm that my contribution is compliant.

also a SIGINT trap without an own exit will cause that the function
execution continues even if set -e is set if the function is called
in a conditional (while and so on). i.e. not only set -e is deactivated
but also a trap for SIGINT without explicit exit no longer exits
@robstoll robstoll merged commit dd738e2 into main Oct 24, 2024
2 checks passed
@robstoll robstoll deleted the bugfix/trap-SIGINT branch October 24, 2024 20:52
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