_QEMU_PID

This commit is contained in:
Kroese 2023-04-21 18:28:16 +02:00 committed by GitHub
parent 66c254f6b4
commit 50f8f6e6af

View File

@ -56,7 +56,8 @@ _graceful_shutdown() {
echo
echo "Please update the VirtualDSM Agent to allow gracefull shutdowns..."
kill -15 $(cat "${_QEMU_PID}")
PID=$(cat "${_QEMU_PID}")
kill -15 "${PID}"
pkill -f qemu-system-x86_64
fi