mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Alternative sleep function
This commit is contained in:
parent
561e6cf130
commit
c9d544d0cd
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user