mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
_QEMU_PID
This commit is contained in:
parent
66c254f6b4
commit
50f8f6e6af
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user