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:
parent
ef37776094
commit
d8e9dc2775
4 changed files with 73 additions and 44 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue