summaryrefslogtreecommitdiff
path: root/src/socket.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-04-16 03:42:37 +0200
committerLennart Poettering <lennart@poettering.net>2011-04-16 03:42:37 +0200
commit94bc27318a258f460bc9dfa641737324c62b4759 (patch)
tree44ff8454afe72b84da076bf523bc99a8578405d5 /src/socket.c
parent49f91047afb48b8ee5728c68ba75782463176fd4 (diff)
socket: reuse existing FIFOs
Diffstat (limited to 'src/socket.c')
-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;
}