commit 1fdc7e9c4dac4e657356ba3bc13789f01cd7aa97
parent a5b3a9728ed3ac1ef1908260d35f0fe86c98362d
Author: Sotiris Papatheodorou <sotiris@papatheodorou.xyz>
Date: Mon, 16 Aug 2021 00:36:10 +0300
Fix signal names
SC2039: In POSIX sh, prefixing signal names with 'SIG' is undefined.
https://github.com/koalaman/shellcheck/wiki/SC2039
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/astro b/astro
@@ -263,7 +263,7 @@ export LESS='-P Keys\: qgrbosHmM, to see a description run astro -h'
tput smcup
# Restore terminal
-trap "tput rmcup && exit" EXIT SIGINT SIGHUP
+trap "tput rmcup && exit" EXIT INT HUP
# Parse arguments
args="$*"