From c9d544d0cd50620060efdda80db43eed275d58d3 Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 17 Apr 2023 02:16:49 +0200 Subject: [PATCH] Alternative sleep function --- run/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run/run.sh b/run/run.sh index c88ab72..af76aab 100755 --- a/run/run.sh +++ b/run/run.sh @@ -52,7 +52,7 @@ set -m ) set +m -# Since we have to start the process with -m, we need to poll every intervall if it's still running +# Since we started the QEMU process with -m, we need to poll if it's still running while [ -d "/proc/$(cat ${_QEMU_PID})" ]; do - sleep 1 + snore 1 done