diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2005-06-03 21:02:32 +0000 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2005-06-03 21:02:32 +0000 |
commit | bebfc824a8d5da1f05fea1c8502771ad569916fc (patch) | |
tree | 0ed4050165183a10afdcef8c27e6b303436a9f1d /apt-pkg | |
parent | eb0a335ea298ae7901af2036156243b38d5027cf (diff) |
* fix a stupid bug in the depcache::Init() code
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/depcache.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |