From 434a794dda8eb19d9d18fb8bfa9953c713899ae3 Mon Sep 17 00:00:00 2001 From: HW42 Date: Wed, 1 Oct 2014 03:44:33 +0200 Subject: [PATCH] use sleep instead os usleep since it is more portable --- vm-systemd/prepare-dvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-systemd/prepare-dvm.sh b/vm-systemd/prepare-dvm.sh index bdd1506..c0f30a8 100755 --- a/vm-systemd/prepare-dvm.sh +++ b/vm-systemd/prepare-dvm.sh @@ -29,7 +29,7 @@ if xenstore-read qubes-save-request 2>/dev/null ; then echo "Waiting for save/restore..." # ... wait until qubes-restore.c (in Dom0) recreates VM-specific keys while ! xenstore-read qubes-restore-complete 2>/dev/null ; do - usleep 10000 + sleep 0.01 done echo Back to life. fi