Merge branch 'write-failure-fixes' of git://github.com/lheckemann/nix

This commit is contained in:
Shea Levy
2018-03-02 10:59:59 -05:00
5 changed files with 16 additions and 1 deletions
+2 -1
View File
@@ -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;
}
}