Prevent polling
This commit is contained in:
parent
e97dafd82f
commit
c3096cbb74
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,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
|
||||
while [ -d "/proc/$(cat ${_QEMU_PID})" ]; do
|
||||
sleep 1
|
||||
sleep infinity &
|
||||
wait $!
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue