diff --git a/lgsm/functions/core_dl.sh b/lgsm/functions/core_dl.sh index 838867f0f..3018dcf13 100644 --- a/lgsm/functions/core_dl.sh +++ b/lgsm/functions/core_dl.sh @@ -25,7 +25,7 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_clear_tmp(){ echo -en "clearing LinuxGSM tmp directory..." if [ -d "${tmpdir}" ]; then - rm -rf "${tmpdir}/"* + rm -rf "${tmpdir:?}/"* local exitcode=$? if [ ${exitcode} -eq 0 ]; then fn_print_ok_eol_nl