Ver código fonte

added exit to trap

Daniel Gibbs 10 anos atrás
pai
commit
9ea653ac84
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      functions/core_dl.sh

+ 1 - 0
functions/core_dl.sh

@@ -79,6 +79,7 @@ fn_fetch_trap() {
 	fn_printinfomation "downloading ${filename}: REMOVED"
 	rm -f "${filedir}/${filename}" | tee -a "${scriptlog}"
 	fn_scriptlog "downloading ${filename}: REMOVED"
+	exit
 }
 
 fn_fetch_file(){