diff --git a/lgsm/functions/core_dl.sh b/lgsm/functions/core_dl.sh index 3251f94cc..8ebea21da 100755 --- a/lgsm/functions/core_dl.sh +++ b/lgsm/functions/core_dl.sh @@ -295,17 +295,8 @@ fn_check_file(){ sleep 0.3 echo -en "\033[2K\\r" if [ -f "${lgsmlog}" ]; then - fn_script_log_pass "Checking ${local_filename}" + fn_script_log_pass "Checking ${remote_filename}" fi - - # Make file executable if chmodx is set. - if [ "${chmodx}" == "chmodx" ]; then - chmod +x "${local_filedir}/${local_filename}" - fi - - # Remove trap. - trap - INT - break fi done