forked from lix-project/lix
Don't ultimately trust the signed paths
Like the old implem did (and like you'd want it to be anyways)
This commit is contained in:
parent
34d90fbe22
commit
56f6f3725f
|
@ -305,7 +305,9 @@ void Store::addMultipleToStore(
|
|||
[&](const StorePath & path) {
|
||||
checkInterrupt();
|
||||
|
||||
auto & [info, source] = *infosMap.at(path);
|
||||
auto & [info_, source] = *infosMap.at(path);
|
||||
auto info = info_;
|
||||
info.ultimate = false;
|
||||
|
||||
if (!isValidPath(info.path)) {
|
||||
MaintainCount<decltype(nrRunning)> mc(nrRunning);
|
||||
|
|
Loading…
Reference in a new issue