diff options
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index 33f4f7e09..72813f4c3 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -3133,7 +3133,7 @@ bool OpenConfigurationFileFd(std::string const &File, FileFd &Fd) /*{{{*/ if (fd == -1) return _error->WarningE("open", _("Unable to read %s"), File.c_str()); APT::Configuration::Compressor none(".", "", "", nullptr, nullptr, 0); - if (Fd.OpenDescriptor(fd, FileFd::ReadOnly, none) == false) + if (Fd.OpenDescriptor(fd, FileFd::ReadOnly, none, true) == false) return false; Fd.SetFileName(File); return true; |