소스 검색

actually terminate the script on Ctrl-C (#236)

In my [PR 224](https://github.com/LukeSmithxyz/mutt-wizard/pull/224), I
introduced a bug.  While I was catching SIGINT with the trap statement,
I did not actually exit the script and returned into the shell.

Fixes https://github.com/LukeSmithxyz/mutt-wizard/issues/234
tags/v3.1
Kriss 5 년 전
committed by Luke Smith
부모
커밋
d7dd9f89fe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw 파일 보기

@@ -316,7 +316,7 @@ synchronize_flags=true
gpg_path=$GPG"
echo "$nmbasic" > "$NOTMUCH_CONFIG" ;}

trap 'echo -e "\033[0m\n"' INT
trap 'echo -e "\033[0m\n"; exit' STOP INT ABRT KILL

case "$1" in
ls) list ;;


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