]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
journalctl: open pager for --dump-catalog and --list-catalog
authorEvgeny Vereshchagin <evvers@ya.ru>
Tue, 13 Oct 2015 06:01:37 +0000 (09:01 +0300)
committerEvgeny Vereshchagin <evvers@ya.ru>
Tue, 13 Oct 2015 06:01:37 +0000 (09:01 +0300)
src/journal/journalctl.c

index d9851db36cb4e91de59b867bd276a6bbd935d8a2..3cc5b1e7025c201bce89bd646482d640d9f56775 100644 (file)
@@ -1879,6 +1879,7 @@ int main(int argc, char *argv[]) {
                 } else {
                         bool oneline = arg_action == ACTION_LIST_CATALOG;
 
+                        pager_open_if_enabled();
                         if (optind < argc)
                                 r = catalog_list_items(stdout, database,
                                                        oneline, argv + optind);