Fix "0 store paths deleted" message

This commit is contained in:
Eelco Dolstra 2013-01-04 15:17:19 +01:00
parent b424d29d1b
commit 92926be2fe
2 changed files with 3 additions and 1 deletions

View file

@ -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