Unverified Commit ad06a5a8 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

_QEMU_PID

parent a9e4fb4e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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