mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 01:20:53 +00:00
logs-show: fix missing newline in short output
Ellipsized messages were printed without a newline.
This commit is contained in:
@@ -237,7 +237,7 @@ static int output_short(sd_journal *j, unsigned line, bool show_all, bool monoto
|
||||
if (!e)
|
||||
printf(": %.*s\n", (int) message_len, message);
|
||||
else
|
||||
printf(": %s", e);
|
||||
printf(": %s\n", e);
|
||||
|
||||
free(e);
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user