dom0/qvm-dom0-update: do not use GUI when called from cmdline
This commit is contained in:
父節點
2bbdb93594
當前提交
2107191ca9
@ -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
|
||||
|
||||
載入中…
新增問題並參考
Block a user