mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
logs-show: fix missing newline in short output
Ellipsized messages were printed without a newline.
This commit is contained in:
parent
7f120cc6a2
commit
52beb2c379
@ -237,7 +237,7 @@ static int output_short(sd_journal *j, unsigned line, bool show_all, bool monoto
|
|||||||
if (!e)
|
if (!e)
|
||||||
printf(": %.*s\n", (int) message_len, message);
|
printf(": %.*s\n", (int) message_len, message);
|
||||||
else
|
else
|
||||||
printf(": %s", e);
|
printf(": %s\n", e);
|
||||||
|
|
||||||
free(e);
|
free(e);
|
||||||
} else
|
} else
|
||||||
|
Loading…
Reference in New Issue
Block a user