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:
parent
18495fbb4e
commit
37049aab36
@ -447,7 +447,6 @@ NfsConnection::ScheduleSocket() noexcept
|
|||||||
if (!_fd.IsDefined())
|
if (!_fd.IsDefined())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_fd.EnableCloseOnExec();
|
|
||||||
socket_event.Open(_fd);
|
socket_event.Open(_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user