summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2015-10-13 09:01:37 +0300
committerEvgeny Vereshchagin <evvers@ya.ru>2015-10-13 09:01:37 +0300
commitdd598123a9f9416c9b8fd5f4ef60b77574750941 (patch)
tree0fd6a11f53adba936036ae4afda5c7ef47406e83
parent7e3ce75d342696d8305cd401a4bf4e70c0e3c30d (diff)
journalctl: open pager for --dump-catalog and --list-catalog
-rw-r--r--src/journal/journalctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index d9851db36c..3cc5b1e702 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -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);