libstore: await promises instead of discarding

oops.

Change-Id: I9f47875085500fa392f74ee51293f9a95c455997
This commit is contained in:
eldritch horrors
2025-02-21 00:35:11 +01:00
parent e47bff547a
commit 3644b519a9
+1 -1
View File
@@ -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;
}