X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/eb0a335ea298ae7901af2036156243b38d5027cf..6627bdccce46a9acdae09d37e6e1444a5f7384e1:/apt-pkg/depcache.cc diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 240ad4da2..dd1c794c9 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -91,7 +91,9 @@ bool pkgDepCache::Init(OpProgress *Prog) } Update(Prog); - Prog->Done(); + + if(Prog != 0) + Prog->Done(); return true; }