]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-get.cc
* finalized changelog
[apt.git] / cmdline / apt-get.cc
index 837094ee05da587725d1aa5270ee7a7ad0b4642a..d4a6bee3215152324c2ec7a38ad3d03d5ce94dc3 100644 (file)
@@ -1368,7 +1368,7 @@ bool DoUpdate(CommandLine &CmdL)
    }
    
    // Clean out any old list files
-   if (_config->FindB("APT::Get::List-Cleanup",true) == true)
+   if (!Failed && _config->FindB("APT::Get::List-Cleanup",true) == true)
    {
       if (Fetcher.Clean(_config->FindDir("Dir::State::lists")) == false ||
          Fetcher.Clean(_config->FindDir("Dir::State::lists") + "partial/") == false)