From 2107191ca9337612ac356ef8c8fc148fc17d4afd Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 12 Sep 2011 15:05:26 +0200 Subject: [PATCH] dom0/qvm-dom0-update: do not use GUI when called from cmdline --- dom0/qvm-tools/qvm-dom0-update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom0/qvm-tools/qvm-dom0-update b/dom0/qvm-tools/qvm-dom0-update index 36159d74..b9dae551 100755 --- a/dom0/qvm-tools/qvm-dom0-update +++ b/dom0/qvm-tools/qvm-dom0-update @@ -26,7 +26,7 @@ echo "Checking for dom0 updates" # Start VM if not running already qvm-run -a $UPDATEVM true || exit 1 /usr/lib/qubes/sync_rpmdb_updatevm.sh || exit 1 -qvm-run --pass_io $UPDATEVM "/usr/lib/qubes/qubes_download_dom0_updates.sh $*" || exit 1 +qvm-run --pass_io $UPDATEVM "/usr/lib/qubes/qubes_download_dom0_updates.sh --doit --nogui $*" || exit 1 # Wait for download completed while pidof -x qubes-receive-updates >/dev/null; do sleep 0.5; done if [ $# -gt 0 ]; then