summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-03 16:39:57 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-06 09:41:02 +0200
commit6ec4ed645e37ba7dd5628747ea78ec1663599ab7 (patch)
tree8786d4b722739f36f5f513499f7026105de3bb86 /src
parent42225ff62fe1c2577bbb344d21f1cc5a0afcd2cc (diff)
socket: don't double close the same fd for FIFOs
Diffstat (limited to 'src')
-rw-r--r--src/core/socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/socket.c b/src/core/socket.c
index 3250e7efc6..f547d1ba7c 100644
--- a/src/core/socket.c
+++ b/src/core/socket.c
@@ -1028,8 +1028,6 @@ static int fifo_address_create(
fail:
mac_selinux_create_file_clear();
- safe_close(fd);
-
return r;
}