]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
findmnt: fix filters use on --list
authorKarel Zak <kzak@redhat.com>
Wed, 29 May 2019 15:59:33 +0000 (17:59 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 29 May 2019 15:59:33 +0000 (17:59 +0200)
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1714826
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/findmnt.c

index 06db03986fbb23c5dac933a5b2c3978be06ee8d3..a4b7a1b3a9cf10c854de304699fb6a6f19159e45 100644 (file)
@@ -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) &&