mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-30 23:40:32 +08:00
_QEMU_PID
This commit is contained in:
@@ -56,7 +56,8 @@ _graceful_shutdown() {
|
|||||||
echo
|
echo
|
||||||
echo "Please update the VirtualDSM Agent to allow gracefull shutdowns..."
|
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
|
pkill -f qemu-system-x86_64
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user