mirror of
https://github.com/dockur/windows.git
synced 2025-03-28 20:49:59 +00:00
fix: Prevent re-entry during shutdown (#176)
This commit is contained in:
parent
01f9603c47
commit
0f2717fec4
@ -50,6 +50,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…
x
Reference in New Issue
Block a user