Skip to content

Commit

Permalink
qubes-dom0-update: Pass --check-only option to the updatevm too
Browse files Browse the repository at this point in the history
The updatevm script does need this option too, for two reasons:
 - to skip downloading updates if only check was requested
 - to report updates availability via exit code

The second point is critical for setting 'updates-available' flag.

Fixs QubesOS/qubes-issues#7417
  • Loading branch information
marmarek committed Apr 13, 2022
1 parent c5394f7 commit 87c4591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dom0-updates/qubes-dom0-update
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ while [ $# -gt 0 ]; do
;;
--check-only)
CHECK_ONLY=1
UPDATEVM_OPTS+=( "$1" )
;;
--preserve-terminal)
exit_cmd=
Expand Down

0 comments on commit 87c4591

Please sign in to comment.