This commit is contained in:
Kroese 2023-04-16 17:53:33 +02:00 committed by GitHub
parent f742b42a28
commit 66a8070fe5

View file

@ -40,5 +40,7 @@ set -m
)
set +m
# Wait for QEMU process to exit
tail --pid="$(cat ${_QEMU_PID})" -f /dev/null
# Since we have to start the process with -m, we need to poll every intervall if it's still running
while [ -d "/proc/$(cat ${_QEMU_PID})" ]; do
sleep 1
done