From 3517f27d5b38b09f26cf252aa0d8d30aec45881d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dundar=20G=C3=B6c?= Date: Sat, 13 Feb 2021 13:02:10 +0100 Subject: [PATCH] Fixed shellcheck warning SC2155: "Declare and assign separately to avoid masking return values." --- auto_install/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index f3e02fc..1e7dd23 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -538,7 +538,8 @@ installDependentPackages(){ fi done - local APTLOGFILE="$($SUDO mktemp)" + local APTLOGFILE + APTLOGFILE="$($SUDO mktemp)" if command -v debconf-apt-progress > /dev/null; then # shellcheck disable=SC2086