]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/indexcopy.cc: discard errors after Verify()
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 28 Oct 2008 19:38:02 +0000 (20:38 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 28 Oct 2008 19:38:02 +0000 (20:38 +0100)
apt-pkg/indexcopy.cc

index b1e75e30f2e6b4cb30453c01520ebeb948739d8b..5a92c79b78ef79563ec7bb05d9967999d4db5c4e 100644 (file)
@@ -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;    
         }
       }