home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 6 May 2025 03:59:32 +0000 (05:59 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 6 May 2025 03:59:32 +0000 (05:59 +0200)
bookworm/scripts/lib/apt_get_digested

index 06187e0168303fb687abd5685503b3c5092a5081..36e7a38bdac9b4b1af0df78209bcca37f9fea663 100644 (file)
@@ -39,7 +39,7 @@ print_nl_if_started_printing() {
 }
 _LAST_PREFIX=''
 _STARTED_PRINTING=
-eval "set +e; DEBIAN_FRONTEND=noninteractive apt-get -y $1; _RESULT=$?; set -e; echo ${_FINISH_LINE}" 2>&1 | while read _LINE; do
+eval "set +e; DEBIAN_FRONTEND=noninteractive apt-get -y $1; _RESULT=\$?; set -e; echo ${_FINISH_LINE}" 2>&1 | while read _LINE; do
     _LINE=$(printf '%s' "${_LINE}" | tr -d '\r')
     if [ -z "${_LINE}" ]; then
         continue