summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Murray <brian@murraytwins.com>2019-06-06 11:24:16 -0700
committerJulian Andres Klode <julian.klode@canonical.com>2019-06-11 14:46:09 +0200
commit35cb34d721e11a9e7dfa9ccd29d5bd58da8f7efc (patch)
tree977c74b22e3e6ee48cdf312996a169eac75338d3
parent8a9c4ad6a3621296c62e1708886140e765b23be2 (diff)
Do not include squashfs file systems in df output.
LP: #1756595 Fixes Debian/apt#94
-rw-r--r--apt-pkg/deb/dpkgpm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index ad5a9007e..4de36d528 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -2460,7 +2460,7 @@ void pkgDPkgPM::WriteApportReport(const char *pkgpath, const char *errormsg)
{
fprintf(report, "Df:\n");
- FILE *log = popen("/bin/df -l","r");
+ FILE *log = popen("/bin/df -l -x squashfs","r");
if(log != NULL)
{
char buf[1024];