mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Merge branch 'write-failure-fixes' of git://github.com/lheckemann/nix
This commit is contained in:
commit
aa8bbbf69d
5 changed files with 16 additions and 1 deletions
|
@ -67,7 +67,8 @@ void FdSink::write(const unsigned char * data, size_t len)
|
|||
try {
|
||||
writeFull(fd, data, len);
|
||||
} catch (SysError & e) {
|
||||
_good = true;
|
||||
_good = false;
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue