1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

Tweak comment

This commit is contained in:
Eelco Dolstra 2025-06-12 11:15:58 +02:00 committed by Jörg Thalheim
parent 4ea4813753
commit e5dc3e84f0

View file

@ -2093,8 +2093,8 @@ void DerivationBuilderImpl::checkOutputs(const std::map<std::string, ValidPathIn
void DerivationBuilderImpl::deleteTmpDir(bool force) void DerivationBuilderImpl::deleteTmpDir(bool force)
{ {
if (topTmpDir != "") { if (topTmpDir != "") {
/* As an extra caution, even in the event of `deletePath` failing to /* As an extra precaution, even in the event of `deletePath` failing to
* cleaning up behind. The `tmpDir` will be chown as if we were to move * clean up, the `tmpDir` will be chowned as if we were to move
* it inside the Nix store. * it inside the Nix store.
* *
* This hardens against an attack which smuggles a file descriptor * This hardens against an attack which smuggles a file descriptor