diff options
author | Matthieu Herrb <matthieu@bluenote.herrb.com> | 2007-09-15 18:12:52 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@bluenote.herrb.com> | 2007-09-15 18:14:11 +0200 |
commit | b9d07ef3e07ef6f00a2f1cc730a481e5e1291f5b (patch) | |
tree | 7e9ec5657ebe214e291d7711a19f662fc1481490 | |
parent | e91874313c99dfb6be042cd1739e463e080b71fc (diff) |
remove .serverauth.$$ file on signals or errors
-rw-r--r-- | startx.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -198,6 +198,7 @@ dummy=0 XCOMM create a file with auth information for the server. ':0' is a dummy. xserverauthfile=$HOME/.serverauth.$$ +trap "rm -f $xserverauthfile" ERR HUP INT QUIT ILL TRAP KILL BUS TERM xauth -q -f $xserverauthfile << EOF add :$dummy . $mcookie EOF |