commit bcd6d772988277f6e02d6f8a8e62f6945738717e
parent 8303c656bf0fd9641683539306850646535bd168
Author: cfillion <cfillion@users.noreply.github.com>
Date: Mon, 25 Jan 2016 19:02:27 -0500
don't cancel the whole transaction when uninstalling a not-yet-installed remote
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/transaction.cpp b/src/transaction.cpp
@@ -161,10 +161,8 @@ void Transaction::uninstall(const Remote &remote)
{
const vector<Registry::Entry> &entries = m_registry->queryAll(remote);
- if(entries.empty()) {
- cancel();
+ if(entries.empty())
return;
- }
vector<Path> allFiles;