Explorar el Código

Updated trap messages

Daniel Gibbs hace 10 años
padre
commit
fedd6394e6
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      functions/core_dl.sh

+ 4 - 2
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
 }