Remove unnecessary call to addTempRoot()
This commit is contained in:
parent
f02c52e3d4
commit
98873ff7de
|
@ -1488,7 +1488,6 @@ void LocalStore::exportPath(const Path & path, bool sign,
|
|||
|
||||
printMsg(lvlInfo, format("exporting path `%1%'") % path);
|
||||
|
||||
addTempRoot(path);
|
||||
if (!isValidPath(path))
|
||||
throw Error(format("path `%1%' is not valid") % path);
|
||||
|
||||
|
|
Loading…
Reference in a new issue