mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 21:40:01 +08:00
Prevent polling
This commit is contained in:
parent
5d7f0e29ea
commit
b9a3d9119f
@ -57,7 +57,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user