Explorar el Código

* fix a missing StatDone if nothing needs to be fetched

Michael Vogt hace 21 años
padre
commit
cffc2ddd41
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      apt-pkg/acquire-item.cc

+ 1 - 0
apt-pkg/acquire-item.cc

@@ -379,6 +379,7 @@ void pkgAcqIndexDiffs::Finish(bool allDone)
       DestFile = _config->FindDir("Dir::State::lists");
       DestFile += URItoFileName(RealURI);
       Complete = true;
+      Status = StatDone;
       Dequeue();
       if(Debug)
 	 std::clog << "\n\nallDone: " << DestFile << "\n" << std::endl;