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)
printf(": %.*s\n", (int) message_len, message);
else
printf(": %s", e);
printf(": %s\n", e);
free(e);
} else