]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.cc
* merged from main
[apt.git] / apt-pkg / depcache.cc
index 240ad4da2d0e3b9c8f90f51253609d208aaf0aa9..dd1c794c9912726d9b38d5f6e7e1b644c94aeacb 100644 (file)
@@ -91,7 +91,9 @@ bool pkgDepCache::Init(OpProgress *Prog)
    }
    
    Update(Prog);
-   Prog->Done();
+
+   if(Prog != 0)
+      Prog->Done();
    
    return true;
 }