]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journalctl.c
Merge pull request #16238 from keszybz/set-handling-more
[thirdparty/systemd.git] / src / journal / journalctl.c
index 36bd9a01486210fd1dd97d49f4d9e28b299183d5..8d4897b942f778807e168415deecec262bec92cf 100644 (file)
@@ -2110,9 +2110,7 @@ int main(int argc, char *argv[]) {
         int n_shown = 0, r, poll_fd = -1;
 
         setlocale(LC_ALL, "");
-        log_show_color(true);
-        log_parse_environment();
-        log_open();
+        log_setup_cli();
 
         /* Increase max number of open files if we can, we might needs this when browsing journal files, which might be
          * split up into many files. */