summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-10-28 20:38:02 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2008-10-28 20:38:02 +0100
commit7efdcd3a5553349c4082da17494bb53715ec2e08 (patch)
treeb785c89963f50075f1197d1a035cf8db61f2a135
parent742f980e2df763c76431026bd0e03f724797cc50 (diff)
apt-pkg/indexcopy.cc: discard errors after Verify()
-rw-r--r--apt-pkg/indexcopy.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc
index b1e75e30f..5a92c79b7 100644
--- a/apt-pkg/indexcopy.cc
+++ b/apt-pkg/indexcopy.cc
@@ -660,6 +660,7 @@ bool SigVerify::CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
if(!Verify(prefix,*I, MetaIndex)) {
// something went wrong, don't copy the Release.gpg
// FIXME: delete any existing gpg file?
+ _error->Discard();
continue;
}
}