Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Oct 6, 2024
1 parent 636148a commit a956196
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lgsm/modules/command_fastdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ fn_fastdl_preview() {
tput rc
tput el
fn_print_nl "gathering ${allowed_extention} : ${fileswc}"
fn_print_nl "${ext}" >> "${tmpdir}/fastdl_files_to_compress.txt"
echo -e "${ext}" >> "${tmpdir}/fastdl_files_to_compress.txt"
done < <(find . -type f -iname "${allowed_extention}")
if [ ${fileswc} != 0 ]; then
fn_print_ok_eol_nl
Expand Down Expand Up @@ -206,7 +206,7 @@ fn_fastdl_preview() {
done
fi
if [ -f "${tmpdir}/fastdl_files_to_compress.txt" ]; then
fn_print_nl "calculating total file size..."
fn_print_nl "calculating total file size"
fn_sleep_time_1
totalfiles=$(wc -l < "${tmpdir}/fastdl_files_to_compress.txt")
# Calculates total file size.
Expand All @@ -216,7 +216,7 @@ fn_fastdl_preview() {
exitcode=$?
if [ "${exitcode}" != 0 ]; then
fn_print_fail_eol_nl
fn_script_log_fail "Calculating total file size."
fn_script_log_fail "Calculating total file size"
core_exit.sh
fi
done < "${tmpdir}/fastdl_files_to_compress.txt"
Expand Down

0 comments on commit a956196

Please sign in to comment.