mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 15:30:38 +00:00
logs-show: fix missing newline in short output
Ellipsized messages were printed without a newline.
This commit is contained in:
+1
-1
@@ -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