Skip to content

Commit

Permalink
dom0-update: do not show xterm with update check process
Browse files Browse the repository at this point in the history
This may mess with exit code (critical for setting updates-available
flag), but also may be confusing when started from cron.

Fixes QubesOS/qubes-issues#7437
  • Loading branch information
marmarek committed Apr 14, 2022
1 parent 7d0476d commit 47a7fb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dom0-updates/qubes-dom0-update
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ "$1" = "--help" ]; then
echo ""
echo "Usage: $0 [--clean] [--check-only] [--gui] [<pkg list>]"
echo " --clean clean dnf cache before doing anything"
echo " --check-only only check for updates (no install)"
echo " --check-only only check for updates (no install); implies --console"
echo " --gui use gpk-update-viewer for update selection, conflicts with --console"
echo " --action=... use specific dnf action, instead of automatic install/update"
echo " --force-xen-upgrade force major Xen upgrade even if some qubes are running"
Expand Down Expand Up @@ -139,6 +139,7 @@ esac

if [ "$CHECK_ONLY" == "1" ]; then
REMOTE_ONLY=1
CONSOLE=1
fi

# Redirect operations on templates to qvm-template command
Expand Down

0 comments on commit 47a7fb7

Please sign in to comment.