diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-10-19 23:18:23 -0400 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-10-19 23:18:23 -0400 |
commit | 4c225f062d3f7c9474890692caffb34768fb7b15 (patch) | |
tree | cf3b6fa87263c5d1d4aa069189d8299da316e9ce /ipc.c | |
parent | 32bea82d26872395634862204f551644233454ae (diff) |
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.
Diffstat (limited to 'ipc.c')
-rw-r--r-- | ipc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) ); |