diff options
Diffstat (limited to 'src/logs-show.c')
-rw-r--r-- | src/logs-show.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logs-show.c b/src/logs-show.c index a6220351b6..42d84edbaf 100644 --- a/src/logs-show.c +++ b/src/logs-show.c @@ -213,7 +213,8 @@ static int output_short(sd_journal *j, unsigned line, unsigned n_columns, bool s } else if (comm && shall_print(show_all, comm, comm_len)) { printf(" %.*s", (int) comm_len, comm); n += comm_len + 1; - } + } else + putchar(' '); if (pid && shall_print(show_all, pid, pid_len)) { printf("[%.*s]", (int) pid_len, pid); |