1
0
Fork 0
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:
Jacek Galowicz 2023-11-02 15:50:00 +01:00
parent 1885d579db
commit c924147c9d
4 changed files with 10 additions and 10 deletions

View file

@ -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");