summaryrefslogtreecommitdiffstats
path: root/misc-utils
diff options
context:
space:
mode:
authorKarel Zak2019-05-29 17:59:33 +0200
committerKarel Zak2019-05-29 17:59:33 +0200
commit21d93094d4c6c7fcecb54ccb612c84e1392239d9 (patch)
treefaf896c2cde41bfc55f42cbd5c2bd314aeee9372 /misc-utils
parenttests: add asan build-sys test (diff)
downloadkernel-qcow2-util-linux-21d93094d4c6c7fcecb54ccb612c84e1392239d9.tar.gz
kernel-qcow2-util-linux-21d93094d4c6c7fcecb54ccb612c84e1392239d9.tar.xz
kernel-qcow2-util-linux-21d93094d4c6c7fcecb54ccb612c84e1392239d9.zip
findmnt: fix filters use on --list
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1714826 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/findmnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c
index 06db03986..a4b7a1b3a 100644
--- a/misc-utils/findmnt.c
+++ b/misc-utils/findmnt.c
@@ -292,7 +292,7 @@ static int is_tabdiff_column(int id)
*/
int is_listall_mode(void)
{
- if ((flags & FL_DF) && !(flags & FL_ALL))
+ if ((flags & FL_DF || flags & FL_REAL || flags & FL_PSEUDO) && !(flags & FL_ALL))
return 0;
return (!get_match(COL_SOURCE) &&