mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
logs-show: add missing newline in warning message
This commit is contained in:
committed by
Luca Boccassi
parent
fcc3c20ca3
commit
17e9000164
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user