From: Lennart Poettering Date: Sat, 16 Apr 2011 01:42:37 +0000 (+0200) Subject: socket: reuse existing FIFOs X-Git-Tag: v25~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94bc27318a258f460bc9dfa641737324c62b4759;p=systemd socket: reuse existing FIFOs --- diff --git a/src/socket.c b/src/socket.c index 01af34c1..94991a35 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; }