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
416f65fe01
commit
5cffd4f673
@ -432,7 +432,6 @@ NfsConnection::ScheduleSocket() noexcept
|
|||||||
if (!_fd.IsDefined())
|
if (!_fd.IsDefined())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_fd.EnableCloseOnExec();
|
|
||||||
socket_event.Open(_fd);
|
socket_event.Open(_fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user