diff options
author | Brian Murray <brian@murraytwins.com> | 2019-06-06 11:24:16 -0700 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2019-06-11 14:46:09 +0200 |
commit | 35cb34d721e11a9e7dfa9ccd29d5bd58da8f7efc (patch) | |
tree | 977c74b22e3e6ee48cdf312996a169eac75338d3 /apt-pkg | |
parent | 8a9c4ad6a3621296c62e1708886140e765b23be2 (diff) | |
download | apt-35cb34d721e11a9e7dfa9ccd29d5bd58da8f7efc.tar.gz |
Do not include squashfs file systems in df output.
LP: #1756595
Fixes Debian/apt#94
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/deb/dpkgpm.cc | 2 |
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]; |