summaryrefslogtreecommitdiff
path: root/apt-pkg/dirstream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/dirstream.cc')
-rw-r--r--apt-pkg/dirstream.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/apt-pkg/dirstream.cc b/apt-pkg/dirstream.cc
index b71a34d3e..ef9f08ebc 100644
--- a/apt-pkg/dirstream.cc
+++ b/apt-pkg/dirstream.cc
@@ -53,7 +53,6 @@ bool pkgDirStream::DoItem(Item &Itm,int &Fd)
return _error->Errno("fchown",_("Failed to write file %s"), Itm.Name);
}
Fd = iFd;
- close(iFd);
return true;
}