forked from lix-project/lix
Fix "0 store paths deleted" message
This commit is contained in:
parent
b424d29d1b
commit
92926be2fe
|
@ -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
|
<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
|
run on Linux, it removes any immutable bits from the Nix store and
|
||||||
|
|
|
@ -445,6 +445,8 @@ void LocalStore::deletePathRecursive(GCState & state, const Path & path)
|
||||||
|
|
||||||
printMsg(lvlInfo, format("deleting `%1%'") % 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
|
/* 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
|
trash directory. The move is to ensure that later (when we're
|
||||||
not holding the global GC lock) we can delete the path without
|
not holding the global GC lock) we can delete the path without
|
||||||
|
|
Loading…
Reference in a new issue