mirror of
https://github.com/NixOS/nix
synced 2025-07-03 02:01:48 +02:00
Drop parentheses from thunks
This commit is contained in:
parent
1885d579db
commit
c924147c9d
4 changed files with 10 additions and 10 deletions
|
@ -96,7 +96,7 @@ void drainFD(int fd, Sink & sink, bool block)
|
|||
throw SysError("making file descriptor non-blocking");
|
||||
}
|
||||
|
||||
Finally finally([&]() {
|
||||
Finally finally([&] {
|
||||
if (!block) {
|
||||
if (fcntl(fd, F_SETFL, saved) == -1)
|
||||
throw SysError("making file descriptor blocking");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue