Browse Source

Updated trap messages

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
fedd6394e6
  1. 6
      functions/core_dl.sh

6
functions/core_dl.sh

@ -73,11 +73,13 @@ fi
# Trap to remove file download if canceled before completed # Trap to remove file download if canceled before completed
fn_fetch_trap() { fn_fetch_trap() {
echo "" echo ""
fn_printinfomationnl "downloading ${filename}: CANCELED" echo -ne "downloading ${filename}: "
fn_printcanceledeol
fn_scriptlog "downloading ${filename}: CANCELED" fn_scriptlog "downloading ${filename}: CANCELED"
sleep 1 sleep 1
fn_printinfomation "downloading ${filename}: REMOVED"
rm -f "${filedir}/${filename}" | tee -a "${scriptlog}" rm -f "${filedir}/${filename}" | tee -a "${scriptlog}"
echo -ne "downloading ${filename}: "
fn_printremovedeol
fn_scriptlog "downloading ${filename}: REMOVED" fn_scriptlog "downloading ${filename}: REMOVED"
exit exit
} }

Loading…
Cancel
Save