summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsystem.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-06-11 14:16:18 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-06-11 14:16:18 +0200
commit93e0ba2bfde58e6c1fbad53614083be8754d7ee8 (patch)
tree59e53446d19dfe8b0b9f341096bb0022acfdb0d6 /apt-pkg/deb/debsystem.cc
parentd43d79bf19e728ec1735aa39030902ff8c8a21bc (diff)
parent8bfe582c8d588f0d30e4e421b47c8a4722931de4 (diff)
Merge tag '1.8.2'
apt Debian release 1.8.2
Diffstat (limited to 'apt-pkg/deb/debsystem.cc')
-rw-r--r--apt-pkg/deb/debsystem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/debsystem.cc b/apt-pkg/deb/debsystem.cc
index 5df6c58a1..0c7e9ff39 100644
--- a/apt-pkg/deb/debsystem.cc
+++ b/apt-pkg/deb/debsystem.cc
@@ -153,8 +153,8 @@ bool debSystem::UnLock(bool NoErrors)
return _error->Error(_("Not locked"));
if (--d->LockCount == 0)
{
- close(d->FrontendLockFD);
close(d->LockFD);
+ close(d->FrontendLockFD);
d->LockCount = 0;
}