qubes-dom0-update: Remove dependency on Xen as vmm

This commit is contained in:
Jean-Philippe Ouellet 2017-11-30 08:46:28 -05:00
parent 7a644b6d61
commit 686db90032
No known key found for this signature in database
GPG Key ID: 4747332C27533622

View File

@ -144,7 +144,7 @@ if [ "$GUI" != "1" ]; then
fi
# Do not start VM automaticaly when running from cron (only checking for updates)
if [ "$CHECK_ONLY" == "1" ] && ! xl domid $UPDATEVM > /dev/null 2>&1; then
if [ "$CHECK_ONLY" == "1" ] && ! qvm-check -q --running $UPDATEVM > /dev/null 2>&1; then
echo "ERROR: UpdateVM not running, not starting it in non-interactive mode" >&2
exit 1
fi