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
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

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