about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-04T14·17+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-04T14·17+0100
commit92926be2fe15b25759e8e3e129a093798f8c37b6 (patch)
tree1d9c4f11e7a84b6ba7be7d0c7bcb025186f9fbf7
parentb424d29d1b2fb99c654f1cffe6cd57b298c0ab33 (diff)
Fix "0 store paths deleted" message
-rw-r--r--doc/manual/release-notes.xml2
-rw-r--r--src/libstore/gc.cc2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml
index 60c119cb7352..e7e9bf3c5b43 100644
--- a/doc/manual/release-notes.xml
+++ b/doc/manual/release-notes.xml
@@ -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
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index a8fa1108bfb4..a6b1a35e77ef 100644
--- a/src/libstore/gc.cc
+++ b/src/libstore/gc.cc
@@ -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