Prevent polling

This commit is contained in:
Kroese 2023-04-16 14:42:24 +02:00 committed by GitHub
parent e97dafd82f
commit c3096cbb74

View file

@ -43,7 +43,7 @@ set -m
) )
set +m set +m
# 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 while [ -d "/proc/$(cat ${_QEMU_PID})" ]; do
sleep 1 sleep infinity &
wait $!
done done