logs-show: add missing newline in warning message

This commit is contained in:
Antonio Terceiro 2021-03-21 11:37:51 -03:00 committed by Luca Boccassi
parent fcc3c20ca3
commit 17e9000164

View file

@ -1396,7 +1396,7 @@ int show_journal(
bool noaccess = journal_access_blocked(j);
if (line == 0 && noaccess)
fprintf(f, "Warning: some journal files were not opened due to insufficient permissions.");
fprintf(f, "Warning: some journal files were not opened due to insufficient permissions.\n");
else if (!noaccess)
fprintf(f, "Notice: journal has been rotated since unit was started, output may be incomplete.\n");
else