summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/deb/debsystem.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/debsystem.cc b/apt-pkg/deb/debsystem.cc
index 052179fd7..8533b1157 100644
--- a/apt-pkg/deb/debsystem.cc
+++ b/apt-pkg/deb/debsystem.cc
@@ -549,6 +549,8 @@ std::vector<std::string> debSystem::ArchitecturesSupported() const /*{{{*/
}
}
}
+ else
+ close(outputFd);
ExecWait(dpkgMultiArch, "dpkg --print-foreign-architectures", true);
return archs;
}