X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/eb0a335ea298ae7901af2036156243b38d5027cf..4f00fb2f265f5230c7d138b52854c0886092c0ab:/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; }