]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
In 'trap' commands, prefer symbolic to numeric signal names.
authorBruno Haible <bruno@clisp.org>
Sat, 26 Nov 2022 16:58:32 +0000 (17:58 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 26 Nov 2022 16:58:32 +0000 (17:58 +0100)
* libtextstyle/gnulib-local/tests/test-term-ostream-xterm.sh: Use symbolic
signal names.

libtextstyle/gnulib-local/tests/test-term-ostream-xterm.sh

index a3a2b12ecdd4f3b4cdaa0f95182d54057a04dae8..9371dc50bb4c5622493a2a22174e8a8452851885 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 tmpfiles=""
-trap 'rm -fr $tmpfiles' 1 2 3 15
+trap 'rm -fr $tmpfiles' HUP INT QUIT TERM
 
 tmpfiles="$tmpfiles out1 out"
 # The redirection of stderr into a pipe avoids the output of padding bytes