dom0/clock-sync: fix test type (socket vs file)

This commit is contained in:
Marek Marczykowski 2011-09-15 14:53:52 +02:00
parent 9f14be6eed
commit 5f702e9a8a

View File

@ -14,7 +14,7 @@ fi
echo "Waiting for UpdateVM to be started"
# Intentionally used xl domid here to check if domain is running (in case of
# eg. stale qrexec socket)
while ! [ -f /var/run/qubes/qrexec.`xl domid "$UPDATES_VM" 2>/dev/null` ]; do
while ! [ -S /var/run/qubes/qrexec.`xl domid "$UPDATES_VM" 2>/dev/null` ]; do
sleep 1
done