Selaa lähdekoodia

added exit to trap

Daniel Gibbs 10 vuotta sitten
vanhempi
commit
9ea653ac84
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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(){