From 3bfbe59f47fcb2de5fe87cd1153d14bb1e916985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 7 Dec 2024 17:04:41 +0100 Subject: [PATCH] log stdout/err from updates check on Debian This is especially useful for diagnosing update check issues on Debian/Whonix. --- package-managers/upgrades-installed-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-managers/upgrades-installed-check b/package-managers/upgrades-installed-check index aaf18ccc4..e41089fec 100755 --- a/package-managers/upgrades-installed-check +++ b/package-managers/upgrades-installed-check @@ -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