nix copy: Don't open the --from store twice

This commit is contained in:
Eelco Dolstra
2017-09-08 14:46:55 +02:00
parent 8f6b347abd
commit 3cf1705583

View File

@@ -97,7 +97,7 @@ ref<Store> StoreCommand::createStore()
void StoreCommand::run()
{
run(createStore());
run(getStore());
}
StorePathsCommand::StorePathsCommand()