1
0
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:
Michal Schmidt 2012-01-10 22:03:49 +01:00
parent 7f120cc6a2
commit 52beb2c379

View File

@ -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