Skip to content

fix: Display signal names#1760

Merged
kroese merged 2 commits into
masterfrom
dev
Jun 5, 2026
Merged

fix: Display signal names#1760
kroese merged 2 commits into
masterfrom
dev

Conversation

@kroese

@kroese kroese commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings June 5, 2026 01:05

Copilot AI left a comment

Copy link
Copy Markdown

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 adjusts shutdown-related log messages in src/power.sh to make it explicit that the received value is a signal (e.g., SIGTERM) and improve readability of the output during graceful shutdown handling.

Changes:

  • Update graceful_shutdown() log strings to include the word “signal” when reporting what was received.
  • Slightly clarify the shutdown flow messaging when already shutting down vs. initiating ACPI shutdown.

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

Comment thread src/power.sh

if [ -f "$QEMU_END" ]; then
echo && info "Received $1 while already shutting down..."
echo && info "Received $1 signal while already shutting down..."
Comment thread src/power.sh
set +e
touch "$QEMU_END"
echo && info "Received $1, sending ACPI shutdown signal..."
echo && info "Received $1 signal, sending ACPI shutdown signal..."
@kroese kroese merged commit c768ba8 into master Jun 5, 2026
2 checks passed
@kroese kroese deleted the dev branch June 5, 2026 01:14
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.

2 participants