From 3d62f36c338e5f2ea5d5623dad850acc1b533336 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] DEBUG: log stdout/err from updates check on Debian --- package-managers/upgrades-installed-check | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package-managers/upgrades-installed-check b/package-managers/upgrades-installed-check index aaf18ccc4..b2080e0c4 100755 --- a/package-managers/upgrades-installed-check +++ b/package-managers/upgrades-installed-check @@ -29,6 +29,8 @@ elif [ -e /etc/debian_version ]; then exit_code="$?" # shellcheck disable=SC2266 echo "$apt_get_upgrade_output" | awk "/^Inst/{ print $2 }" | [ "$(wc -L)" -eq 0 ] && echo "true" || echo "false" + echo "$apt_get_update_output" >&2 + echo "$apt_get_upgrade_output" >&2 elif [ -e /etc/arch-release ]; then ## Archlinux checkupdates >/dev/null 2>&1