Alternative sleep function

This commit is contained in:
Kroese 2023-04-17 02:16:49 +02:00 committed by GitHub
parent 561e6cf130
commit c9d544d0cd

View File

@ -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