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

@ -8,7 +8,7 @@
<!--==================================================================-->
<section xml:id="ssec-relnotes-1.3"><title>Release 1.3 (January 3, 2013)</title>
<section xml:id="ssec-relnotes-1.3"><title>Release 1.3 (January 4, 2013)</title>
<para>This is primarily a bug fix release. When this version is first
run on Linux, it removes any immutable bits from the Nix store and

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