summaryrefslogtreecommitdiff
path: root/startx.cpp
diff options
context:
space:
mode:
authornia <nia@NetBSD.org>2022-04-07 22:33:28 +0200
committernia <nia@NetBSD.org>2022-04-07 22:33:28 +0200
commitbf1d55c1aeef4d4755e1dbaf05cd625e48780bfb (patch)
tree07ea510aa19eda79fe1a7b4210882ecd6cd7a256 /startx.cpp
parent71a8997cad602ef0adc9fed110e8a04d2a8fc8dc (diff)
startx: don't attempt to catch SIGKILL
Most shells ignore attempts to catch SIGKILL. Some, such as NetBSD's /bin/sh, print an annoying message helpfully reminding you that it isn't possible to catch SIGKILL whenever X starts. Signed-off-by: Nia Alarie <nia@NetBSD.org>
Diffstat (limited to 'startx.cpp')
-rw-r--r--startx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/startx.cpp b/startx.cpp
index 31187b9..6502dbf 100644
--- a/startx.cpp
+++ b/startx.cpp
@@ -271,7 +271,7 @@ if [ x"$enable_xauth" = x1 ] ; then
XCOMM create a file with auth information for the server. ':0' is a dummy.
xserverauthfile=$HOME/.serverauth.$$
- trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP KILL BUS TERM
+ trap "rm -f '$xserverauthfile'" HUP INT QUIT ILL TRAP BUS TERM
xauth -q -f "$xserverauthfile" << EOF
add :$dummy . $mcookie
EOF