* Drop unnecessary call to canonPath() (nixStore is already canonical).
This commit is contained in:
+1
-1
@@ -634,7 +634,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
|
||||
|
||||
try {
|
||||
foreach (vector<Path>::iterator, i, entries_)
|
||||
tryToDelete(state, canonPath(nixStore + "/" + *i));
|
||||
tryToDelete(state, nixStore + "/" + *i);
|
||||
} catch (GCLimitReached & e) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user