]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
column: fix "0" placeholder
authorKarel Zak <kzak@redhat.com>
Wed, 8 Jun 2022 09:07:58 +0000 (11:07 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 8 Jun 2022 09:07:58 +0000 (11:07 +0200)
Addresses: https://github.com/util-linux/util-linux/issues/1700
Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/column.c

index f3a260cabea62b4b8596a102419607ffadbaee7e..245c2dd8d6f7ce6073a4d0cd9d7643504f72953a 100644 (file)
@@ -339,6 +339,7 @@ static void apply_columnflag_from_list(struct column_control *ctl, const char *l
                while (scols_table_next_column(ctl->tab, itr, &cl) == 0)
                        column_set_flag(cl, flag);
                scols_free_iter(itr);
+               return;
        }
 
        all = split_or_error(list, errmsg);