mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Don't use deletePath() to delete a single file
This commit is contained in:
parent
e9fc91df45
commit
58ac7a17a4
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ void LocalStore::addTempRoot(const Path & path)
|
|||
if (pathExists(fnTempRoots))
|
||||
/* It *must* be stale, since there can be no two
|
||||
processes with the same pid. */
|
||||
deletePath(fnTempRoots);
|
||||
unlink(fnTempRoots.c_str());
|
||||
|
||||
fdTempRoots = openLockFile(fnTempRoots, true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue