diff options
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r-- | src/libstore/gc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 3699b23440..8ce717aaff 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -602,6 +602,8 @@ void LocalStore::collectGarbage(GCAction action, const PathSet & pathsToDelete, } #endif + if (!pathExists(*i)) continue; + printMsg(lvlInfo, format("deleting `%1%'") % *i); /* Okay, it's safe to delete. */ |