summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 01af34c105..94991a35f5 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -715,7 +715,7 @@ static int fifo_address_create(
r = mkfifo(path, socket_mode);
umask(old_mask);
- if (r < 0) {
+ if (r < 0 && errno != EEXIST) {
r = -errno;
goto fail;
}