1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 17:59:36 +01:00

Apply suggestions from code review

Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
Dylan Green 2023-05-17 14:56:48 -05:00 committed by Ben Radford
parent 9290af763a
commit 60c0149721
2 changed files with 14 additions and 6 deletions

View file

@ -114,6 +114,7 @@ void LocalStore::addTempRoot(const StorePath & path)
debug("Read-only store doesn't support creating lock files for temp roots, but nothing can be deleted anyways.");
return;
}
createTempRootsFile();
/* Open/create the global GC lock file. */