From c4854b515045aee5891ba115c69c973fc0f700b9 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 11 May 2024 13:57:59 -0400 Subject: [PATCH] Make sure to capture all exit signals so that closing is handled correctly. --- notestorm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notestorm b/notestorm index e4970e6..465deee 100755 --- a/notestorm +++ b/notestorm @@ -339,7 +339,7 @@ while [ $# -gt 0 ]; do shift done -trap cleanup EXIT +trap cleanup SIGINT SIGTERM EXIT # If there were args, the program was controled by those and we do not need the menu. if [ $argNum -gt 0 ]; then