Przeglądaj źródła

actually terminate the script on Ctrl-C

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
pull/236/head
Kr1ss 6 lat temu
rodzic
commit
23223d4cc1
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 23F078862ACFE50
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Wyświetl plik

@@ -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 ;;


Ładowanie…
Anuluj
Zapisz