From 4c225f062d3f7c9474890692caffb34768fb7b15 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Wed, 19 Oct 2011 23:18:23 -0400 Subject: Drop the on-disk IPC socket by default. Nothing uses it. If one really wants it, it can be restored using the --ipcsocket= configure option. --- ipc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipc.c') diff --git a/ipc.c b/ipc.c index 884039d2..5da9d8e4 100644 --- a/ipc.c +++ b/ipc.c @@ -908,6 +908,9 @@ int ipc_master_listen_socket() struct sockaddr_un un_addr; int serversock; + if (!IPCSOCKET || !*IPCSOCKET) + return 1; + /* Clean up old socket files that were hanging around.. */ if (unlink(IPCSOCKET) == -1 && errno != ENOENT) { log_message( LOGLVL_ERROR, "Could not remove old IPC socket at %s: %s", IPCSOCKET, strerror(errno) ); -- cgit v1.2.3