]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cachefile.cc
cachefile.cc: Do not ignore return value of pkgDepCache::Init()
[apt.git] / apt-pkg / cachefile.cc
index ed3c2dd0a538ae36db332850c6c666c3c193f7dd..21486409577677c403f200a6f5ecbcc9a8d5851f 100644 (file)
@@ -157,8 +157,7 @@ bool pkgCacheFile::BuildDepCache(OpProgress *Progress)
    if (_error->PendingError() == true)
       return false;
 
-   DCache->Init(Progress);
-   return true;
+   return DCache->Init(Progress);
 }
                                                                        /*}}}*/
 // CacheFile::Open - Open the cache files, creating if necessary       /*{{{*/