소스 검색

added exit to trap

Daniel Gibbs 10 년 전
부모
커밋
9ea653ac84
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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(){