소스 검색

wrap

main
Jan Lehnardt 1 년 전
부모
커밋
4bd87a344c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      trap_error_example.sh

+ 2
- 1
trap_error_example.sh 파일 보기

@@ -1,4 +1,5 @@
# if you run a script with -e that produces state that you want to clean up if anything goes wrong in your script, this helps:
# if you run a script with -e that produces state that you want to clean up if
# anything goes wrong in your script, this helps:

trap 'handle_error' ERR



불러오는 중...
취소
저장