mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-08 19:13:41 +08:00
fix: Prevent re-entry during shutdown (#633)
This commit is contained in:
@@ -34,6 +34,8 @@ finish() {
|
||||
local pid
|
||||
local reason=$1
|
||||
|
||||
touch "$QEMU_END"
|
||||
|
||||
if [ -f "$QEMU_PID" ]; then
|
||||
|
||||
pid=$(<"$QEMU_PID")
|
||||
|
||||
Reference in New Issue
Block a user