summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-30 02:56:02 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-30 02:56:02 +0200
commit4f082c7df3998cdc2cdf9845a62d886d05257cb8 (patch)
treed1aba5a8ad41db7954ac41583be2eb09e76e5492 /src/fastd.c
parent36f9d70182c4c2f2e617192ae34abd6c44549a78 (diff)
downloadfastd-4f082c7df3998cdc2cdf9845a62d886d05257cb8.tar
fastd-4f082c7df3998cdc2cdf9845a62d886d05257cb8.zip
Remove now unneeded FD_CLOEXEC flag config
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 191c82d..709f55f 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -510,7 +510,6 @@ static int daemonize(void) {
}
else {
/* child 2 */
- fastd_setfd(pipefd[1], FD_CLOEXEC);
return pipefd[1];
}
}
@@ -524,7 +523,7 @@ static void notify_systemd(const char *notify_socket) {
if ((notify_socket[0] != '@' && notify_socket[0] != '/') || notify_socket[1] == 0)
return;
- fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0);
+ fd = socket(AF_UNIX, SOCK_DGRAM, 0);
if (fd < 0)
return;