X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/eb0a335ea298ae7901af2036156243b38d5027cf..cfde4904a7b61e2a3c75322a08a6fac3c062d65d:/apt-pkg/depcache.cc?ds=inline 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; }