summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-07-31 19:24:36 +0200
committerMichael Vogt <mvo@debian.org>2014-07-31 19:24:36 +0200
commit21638c3af355b3997fadd169495551568af6acfe (patch)
treef29b64cc8610f8e6516b7ef1677953244e96434b /apt-pkg/acquire.cc
parentc5fced388848b967f0ce076656cad5366517f981 (diff)
fail early (again) on gpg sig failures
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r--apt-pkg/acquire.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 33afd8f1f..15af5d6bd 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -195,8 +195,8 @@ bool pkgAcquire::TransactionHasError(unsigned long TransactionID)
std::vector<Item*> Transaction;
for (ItemIterator I = Items.begin(); I != Items.end(); ++I)
if((*I)->TransactionID == TransactionID)
- if((*I)->Status == pkgAcquire::Item::StatError ||
- (*I)->Status == pkgAcquire::Item::StatAuthError)
+ if((*I)->Status != pkgAcquire::Item::StatDone &&
+ (*I)->Status != pkgAcquire::Item::StatIdle)
return true;
return false;