libstore: await promises instead of discarding
oops. Change-Id: I9f47875085500fa392f74ee51293f9a95c455997
This commit is contained in:
@@ -1671,7 +1671,7 @@ try {
|
||||
StorePathSet referrers; queryReferrers(path, referrers);
|
||||
for (auto & i : referrers)
|
||||
if (i != path) {
|
||||
verifyPath(i, storePathsInStoreDir, done, validPaths, repair, errors);
|
||||
TRY_AWAIT(verifyPath(i, storePathsInStoreDir, done, validPaths, repair, errors));
|
||||
if (validPaths.count(i))
|
||||
canInvalidate = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user