From fedd6394e60d3d92211ab7d4b336aaf31163ef89 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 28 Feb 2016 13:44:47 +0000 Subject: [PATCH] Updated trap messages --- functions/core_dl.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/core_dl.sh b/functions/core_dl.sh index 9d2a52233..fae71b735 100644 --- a/functions/core_dl.sh +++ b/functions/core_dl.sh @@ -73,11 +73,13 @@ fi # Trap to remove file download if canceled before completed fn_fetch_trap() { echo "" - fn_printinfomationnl "downloading ${filename}: CANCELED" + echo -ne "downloading ${filename}: " + fn_printcanceledeol fn_scriptlog "downloading ${filename}: CANCELED" sleep 1 - fn_printinfomation "downloading ${filename}: REMOVED" rm -f "${filedir}/${filename}" | tee -a "${scriptlog}" + echo -ne "downloading ${filename}: " + fn_printremovedeol fn_scriptlog "downloading ${filename}: REMOVED" exit }