Skip to content

Fix trap command syntax in wait-for-death.sh#31

Merged
ikogan merged 1 commit into
mainfrom
fix-trap-in-wait-for-death
Jun 3, 2026
Merged

Fix trap command syntax in wait-for-death.sh#31
ikogan merged 1 commit into
mainfrom
fix-trap-in-wait-for-death

Conversation

@klfgit

@klfgit klfgit commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the trap invocation in wait-for-death.sh so the script cleanly exits with status 0 when it receives SIGTERM, which supports the documented “graceful shutdown” use of the /usr/local/bin/wait-for-death entrypoint.

Changes:

  • Corrected trap syntax to use the proper trap "<command>" <signal> form for TERM.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ikogan
ikogan merged commit 708ca29 into main Jun 3, 2026
1 check passed
@ikogan
ikogan deleted the fix-trap-in-wait-for-death branch June 22, 2026 19:34
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.

3 participants