aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/satd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/satd.c b/src/satd.c
index 33b1373..fe76516 100644
--- a/src/satd.c
+++ b/src/satd.c
@@ -90,6 +90,7 @@ does_not_exist:
t (fchmod(fd, S_IRWXU) == -1);
t (fchown(fd, getuid(), getgid()) == -1);
t (bind(fd, (struct sockaddr *)address, sizeof(*address)) == -1);
+ /* EADDRINUSE just means that the file already exists, not that it is actually used. */
/* Mark the socket as owned by a living process. */
t (flock(fd, LOCK_SH));