Pārlūkot izejas kodu

added exit to trap

Daniel Gibbs 10 gadi atpakaļ
vecāks
revīzija
9ea653ac84
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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(){