diff options
author | Karel Zak | 2019-05-29 17:59:33 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-29 17:59:33 +0200 |
commit | 21d93094d4c6c7fcecb54ccb612c84e1392239d9 (patch) | |
tree | faf896c2cde41bfc55f42cbd5c2bd314aeee9372 /misc-utils | |
parent | tests: add asan build-sys test (diff) | |
download | kernel-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.c | 2 |
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) && |