Просмотр исходного кода

apt-pkg/indexcopy.cc: discard errors after Verify()

Michael Vogt лет назад: 17
Родитель
Сommit
7efdcd3a55
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      apt-pkg/indexcopy.cc

+ 1 - 0
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;	 
 	 }
       }