Fix "0 store paths deleted" message
This commit is contained in:
parent
b424d29d1b
commit
92926be2fe
2 changed files with 3 additions and 1 deletions
|
@ -445,6 +445,8 @@ void LocalStore::deletePathRecursive(GCState & state, const Path & path)
|
|||
|
||||
printMsg(lvlInfo, format("deleting `%1%'") % path);
|
||||
|
||||
state.results.paths.insert(path);
|
||||
|
||||
/* If the path is not a regular file or symlink, move it to the
|
||||
trash directory. The move is to ensure that later (when we're
|
||||
not holding the global GC lock) we can delete the path without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue