Tweak message
This commit is contained in:
parent
56e19d970d
commit
07a0b8ca67
1 changed files with 1 additions and 1 deletions
|
@ -920,7 +920,7 @@ void LocalStore::addToStore(const ValidPathInfo & info, const ref<std::string> &
|
||||||
info.path % info.narHash.to_string() % h.to_string());
|
info.path % info.narHash.to_string() % h.to_string());
|
||||||
|
|
||||||
if (requireSigs && !dontCheckSigs && !info.checkSignatures(*this, publicKeys))
|
if (requireSigs && !dontCheckSigs && !info.checkSignatures(*this, publicKeys))
|
||||||
throw Error(format("cannot import path ‘%s’ because it lacks a valid signature") % info.path);
|
throw Error("cannot add path ‘%s’ because it lacks a valid signature", info.path);
|
||||||
|
|
||||||
addTempRoot(info.path);
|
addTempRoot(info.path);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue