Commit fb9d69f2 by Christian Brauner

lxc-ls: count spaces

Otherwise line wrapping might occur too late. Signed-off-by: 's avatarChristian Brauner <christian.brauner@mailbox.org>
parent a71e0967
...@@ -756,6 +756,7 @@ static void ls_print_names(struct ls *l, struct lengths *lht, ...@@ -756,6 +756,7 @@ static void ls_print_names(struct ls *l, struct lengths *lht,
len = 0; len = 0;
} else { } else {
printf(" "); printf(" ");
len++;
} }
} }
if (len > 0) if (len > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment