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