summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-10-30 20:00:00 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-10-30 20:00:00 +0000
commit58cef3ca0605e559a89b9fb95d47b8866cad907a (patch)
tree80967b07d181fba2ead3ed9caa51de7c6debdfda
parentbd859402a577b80aae96c091b8712c2a2734a41c (diff)
Close well known connections in ServerAbort().
Gets rid of dangling /tmp/.X11-unix/X0 sockets after server crash.
-rw-r--r--xserver/os/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xserver/os/log.c b/xserver/os/log.c
index ca93eb88e..d443aba19 100644
--- a/xserver/os/log.c
+++ b/xserver/os/log.c
@@ -416,6 +416,7 @@ void AbortServer(void) __attribute__((noreturn));
void
AbortServer(void)
{
+ CloseWellKnownConnections();
OsCleanup(TRUE);
CloseDownDevices();
AbortDDX();