Skip to content

Commit

Permalink
log stdout/err from updates check on Debian
Browse files Browse the repository at this point in the history
This is especially useful for diagnosing update check issues on
Debian/Whonix.
  • Loading branch information
marmarek committed Dec 21, 2024
1 parent eb83bb7 commit 3bfbe59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package-managers/upgrades-installed-check
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ elif [ -e /etc/debian_version ]; then
set -e
set -o pipefail
# shellcheck disable=SC2034
apt_get_update_output="$(apt-get -q update 2>&1)"
apt_get_update_output="$(apt-get -q update 2>&1 | tee /proc/self/fd/2)"
apt_get_upgrade_output="$(LANG="C" apt-get -s upgrade 2>&1)"
exit_code="$?"
# shellcheck disable=SC2266
Expand Down

0 comments on commit 3bfbe59

Please sign in to comment.