use sleep instead os usleep since it is more portable
This commit is contained in:
parent
5fcf7505fc
commit
434a794dda
@ -29,7 +29,7 @@ if xenstore-read qubes-save-request 2>/dev/null ; then
|
|||||||
echo "Waiting for save/restore..."
|
echo "Waiting for save/restore..."
|
||||||
# ... wait until qubes-restore.c (in Dom0) recreates VM-specific keys
|
# ... wait until qubes-restore.c (in Dom0) recreates VM-specific keys
|
||||||
while ! xenstore-read qubes-restore-complete 2>/dev/null ; do
|
while ! xenstore-read qubes-restore-complete 2>/dev/null ; do
|
||||||
usleep 10000
|
sleep 0.01
|
||||||
done
|
done
|
||||||
echo Back to life.
|
echo Back to life.
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user