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

[feature] Adding a graceful way for st-util to exit #1396

Closed
1 task done
AJ528 opened this issue May 11, 2024 · 0 comments · Fixed by #1395
Closed
1 task done

[feature] Adding a graceful way for st-util to exit #1396

AJ528 opened this issue May 11, 2024 · 0 comments · Fixed by #1395

Comments

@AJ528
Copy link
Contributor

AJ528 commented May 11, 2024

  • I made serious effort to avoid creating duplicate or nearly similar issue

Per the README.md, I am opening a feature ticket before submitting my pull request.

Currently, if you terminate the st-util program using SIGINT, SIGTERM, or SIGSEGV the program will terminate but returns exit code 1. My pull request changes this behavior so that sending SIGTERM (the polite way to terminate a program) returns exit code 0. The other 2 signals still return exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants