mirror of
https://github.com/dockur/windows.git
synced 2026-06-10 14:37:26 +01:00
fix: Display signal names (#1760)
This commit is contained in:
+2
-2
@@ -135,13 +135,13 @@ graceful_shutdown() {
|
||||
esac
|
||||
|
||||
if [ -f "$QEMU_END" ]; then
|
||||
echo && info "Received $1 while already shutting down..."
|
||||
echo && info "Received $1 signal while already shutting down..."
|
||||
return
|
||||
fi
|
||||
|
||||
set +e
|
||||
touch "$QEMU_END"
|
||||
echo && info "Received $1, sending ACPI shutdown signal..."
|
||||
echo && info "Received $1 signal, sending ACPI shutdown signal..."
|
||||
|
||||
if [ ! -s "$QEMU_PID" ] || ! read -r pid <"$QEMU_PID"; then
|
||||
warn "QEMU PID file ($QEMU_PID) does not exist?"
|
||||
|
||||
Reference in New Issue
Block a user