Explorar o código

* fix a missing StatDone if nothing needs to be fetched

Michael Vogt %!s(int64=21) %!d(string=hai) anos
pai
achega
cffc2ddd41
Modificáronse 1 ficheiros con 1 adicións e 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;