From 107ed3c611199bbd0d65279834b76e21e8dbde7c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 29 Nov 2019 17:50:20 +0000 Subject: [PATCH] pash: Also trap EXIT --- pash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pash b/pash index 3dd4d57..f0203f3 100755 --- a/pash +++ b/pash @@ -176,7 +176,7 @@ main() { # Ensure that we leave the terminal in a usable # state on exit or Ctrl+C. - trap 'stty echo icanon' INT + trap 'stty echo icanon' INT EXIT case $1 in a*) pw_add "$2" ;;