diff options
author | nia <nia@NetBSD.org> | 2022-04-07 22:33:28 +0200 |
---|---|---|
committer | nia <nia@NetBSD.org> | 2022-04-07 22:33:28 +0200 |
commit | bf1d55c1aeef4d4755e1dbaf05cd625e48780bfb (patch) | |
tree | 07ea510aa19eda79fe1a7b4210882ecd6cd7a256 /startx.cpp | |
parent | 71a8997cad602ef0adc9fed110e8a04d2a8fc8dc (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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |