]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
logs-show: add missing newline in warning message
authorAntonio Terceiro <asa@terceiro.xyz>
Sun, 21 Mar 2021 14:37:51 +0000 (11:37 -0300)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 21 Mar 2021 17:52:07 +0000 (17:52 +0000)
src/shared/logs-show.c

index 7c61c334e9008b5dd1914fd0189be84aa087a3ed..706a00c7f0612d6e087f265e965c2d2908a3aceb 100644 (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