diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 96e891f..299bf5f 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -287,10 +287,7 @@ static void foundRoot(StoreAPI & store, const Path & path, const Path & target, Roots & roots) { Path storePath = toStorePath(target); - if (store.isValidPath(storePath)) roots[path] = storePath; - else - printMsg(lvlInfo, format("skipping invalid root from `%1%' to `%2%'") % path % storePath); }