mirror of
https://github.com/dockur/windows-arm.git
synced 2024-10-04 01:01:20 +00:00
fix: Prevent re-entry during shutdown (#24)
This commit is contained in:
parent
1e796d0dca
commit
7d7b5706e4
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ finish() {
|
||||||
local pid
|
local pid
|
||||||
local reason=$1
|
local reason=$1
|
||||||
|
|
||||||
|
touch "$QEMU_END"
|
||||||
|
|
||||||
if [ -f "$QEMU_PID" ]; then
|
if [ -f "$QEMU_PID" ]; then
|
||||||
|
|
||||||
pid=$(<"$QEMU_PID")
|
pid=$(<"$QEMU_PID")
|
||||||
|
|
Loading…
Reference in a new issue