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

* don't print a "can't stat " message for missing index files (DefaultSourcesSpec)

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

+ 2 - 0
apt-pkg/pkgcachegen.cc

@@ -571,8 +571,10 @@ static bool CheckValidity(const string &CacheFile, FileIterator Start,
     
       if ((*Start)->Exists() == false)
       {
+#if 0 // mvo: we no longer give a message here (Default Sources spec)
 	 _error->WarningE("stat",_("Couldn't stat source package list %s"),
 			  (*Start)->Describe().c_str());
+#endif
 	 continue;
       }