diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-26 20:31:03 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-26 20:36:52 +0100 |
commit | 93e1565796b61eb44bec39f50e09a34cbe090178 (patch) | |
tree | ebb655eb7496799009b672c39799f670a596eb3e /apt-pkg/cachefile.cc | |
parent | db678df196ccd8f9f6fb336706cf5701d1e53aa6 (diff) |
apt(8): Wait for frontend and cache lock
This is a rework of !6 with additional stuff for the frontend
lock, so we can lock the frontend lock and then keep looping
over dpkg lock.
Diffstat (limited to 'apt-pkg/cachefile.cc')
-rw-r--r-- | apt-pkg/cachefile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/cachefile.cc b/apt-pkg/cachefile.cc index 9a1a6cfa9..8b86fa3e4 100644 --- a/apt-pkg/cachefile.cc +++ b/apt-pkg/cachefile.cc @@ -106,7 +106,7 @@ bool pkgCacheFile::BuildCaches(OpProgress *Progress, bool WithLock) if (WithLock == true) { - if (_system->Lock() == false) + if (_system->Lock(Progress) == false) return false; d->WithLock = true; } |