mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Ensure we're writing to stderr in the builder
http://hydra.nixos.org/build/17862041
This commit is contained in:
parent
5a2d451648
commit
28f22b4653
6 changed files with 21 additions and 19 deletions
|
@ -33,7 +33,7 @@ void deleteLockFile(const Path & path, int fd)
|
|||
other processes waiting on this lock that the lock is stale
|
||||
(deleted). */
|
||||
unlink(path.c_str());
|
||||
writeFull(fd, (const unsigned char *) "d", 1);
|
||||
writeFull(fd, "d");
|
||||
/* Note that the result of unlink() is ignored; removing the lock
|
||||
file is an optimisation, not a necessity. */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue