1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-28 05:00:58 +01:00

Garbage collection - gcKeepDerivations bug

This commit is contained in:
Wouter den Breejen 2007-10-15 19:17:30 +00:00
parent ef37776094
commit d8e9dc2775
4 changed files with 73 additions and 44 deletions

View file

@ -2396,10 +2396,8 @@ static bool working = false;
Worker::Worker()
{
/* Debugging: prevent recursive workers. */
printMsg(lvlError, format("Before abort '%1%'") % working);
if (working)
abort();
printMsg(lvlError, format("After abort"));
working = true;
nrChildren = 0;
}