This fixes output when using -i for ascii line drawing characters. Signed-off-by: Dave Reisner <d@xxxxxxxxxxxxxx> --- misc-utils/lsblk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc-utils/lsblk.c b/misc-utils/lsblk.c index f44ebf6..6c48938 100644 --- a/misc-utils/lsblk.c +++ b/misc-utils/lsblk.c @@ -1004,7 +1004,7 @@ int main(int argc, char *argv[]) struct colinfo *ci = get_column_info(i); int fl = ci->flags; - if (!(tt_flags & TT_FL_TREE) && get_column_id(i) == COL_NAME) + if (!(tt_flags & (TT_FL_TREE|TT_FL_ASCII)) && get_column_id(i) == COL_NAME) fl &= ~TT_FL_TREE; if (!tt_define_column(lsblk->tt, ci->name, ci->whint, fl)) { -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html