diff options
Diffstat (limited to 'src/resolve')
-rw-r--r-- | src/resolve/resolved-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index 890cc04941..d5c1bf0fbd 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -892,7 +892,7 @@ int manager_recv(Manager *m, int fd, DnsProtocol protocol, DnsPacket **ret) { mh.msg_control = &control; mh.msg_controllen = sizeof(control); - l = recvmsg(fd, &mh, 0); + l = recvmsg(fd, &mh, MSG_CMSG_CLOEXEC); if (l < 0) { if (errno == EAGAIN || errno == EINTR) return 0; |