Fixed shellcheck warning SC2155: "Declare and assign separately to avoid masking return values."

This commit is contained in:
Dundar Göc 2021-02-13 13:02:10 +01:00
parent fe636e3f43
commit 3517f27d5b

View file

@ -538,7 +538,8 @@ installDependentPackages(){
fi fi
done done
local APTLOGFILE="$($SUDO mktemp)" local APTLOGFILE
APTLOGFILE="$($SUDO mktemp)"
if command -v debconf-apt-progress > /dev/null; then if command -v debconf-apt-progress > /dev/null; then
# shellcheck disable=SC2086 # shellcheck disable=SC2086