]> git.ipfire.org Git - thirdparty/util-linux.git/commit
findmnt: properly exclude poll columns from --output-all
authorThomas Weißschuh <thomas@t-8ch.de>
Thu, 27 Jan 2022 17:00:12 +0000 (18:00 +0100)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 27 Jan 2022 17:04:37 +0000 (18:04 +0100)
commit68191a41174a691ac290a04171e9932f2028435a
treefde97cf2574bba935efec4eb955b8fa138f04341
parenta64e99118d3378efec9b77bc44e07436bd8fd600
findmnt: properly exclude poll columns from --output-all

Previously columns excluded from --output-all where in fact stored as
column index 0. This however is COL_ACTION which is a polled column
leading to the following error:

findmnt --output-all
findmnt: ACTION column is requested, but --poll is not enabled

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/findmnt.c