Procházet zdrojové kódy

added exit to trap

Daniel Gibbs před 10 roky
rodič
revize
9ea653ac84
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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"
 	fn_printinfomation "downloading ${filename}: REMOVED"
 	rm -f "${filedir}/${filename}" | tee -a "${scriptlog}"
 	rm -f "${filedir}/${filename}" | tee -a "${scriptlog}"
 	fn_scriptlog "downloading ${filename}: REMOVED"
 	fn_scriptlog "downloading ${filename}: REMOVED"
+	exit
 }
 }
 
 
 fn_fetch_file(){
 fn_fetch_file(){