Remove unnecessary call to addTempRoot()

This commit is contained in:
Eelco Dolstra 2014-08-05 16:41:42 +02:00
parent f02c52e3d4
commit 98873ff7de

View file

@ -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);