lib/nfs/Connection: remove EnableCloseOnExec() call

SOCK_CLOEXEC has been added to libnfs version 2, and since we require
at least version 4, we can safely remove this call.
This commit is contained in:
Max Kellermann 2024-05-14 19:50:44 +02:00
parent 18495fbb4e
commit 37049aab36

@ -447,7 +447,6 @@ NfsConnection::ScheduleSocket() noexcept
if (!_fd.IsDefined())
return;
_fd.EnableCloseOnExec();
socket_event.Open(_fd);
}