From 66a8070fe544cf1c2fde45198485bf301cfc2698 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 16 Apr 2023 17:53:33 +0200 Subject: [PATCH] Revert --- run/run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run/run.sh b/run/run.sh index aa886fe..2708d29 100755 --- a/run/run.sh +++ b/run/run.sh @@ -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