From 92926be2fe15b25759e8e3e129a093798f8c37b6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 4 Jan 2013 15:17:19 +0100 Subject: Fix "0 store paths deleted" message --- src/libstore/gc.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit 1.4.1