projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e3ce75
)
journalctl: open pager for --dump-catalog and --list-catalog
author
Evgeny Vereshchagin
<evvers@ya.ru>
Tue, 13 Oct 2015 06:01:37 +0000
(09:01 +0300)
committer
Evgeny Vereshchagin
<evvers@ya.ru>
Tue, 13 Oct 2015 06:01:37 +0000
(09:01 +0300)
src/journal/journalctl.c
patch
|
blob
|
history
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index d9851db36cb4e91de59b867bd276a6bbd935d8a2..3cc5b1e7025c201bce89bd646482d640d9f56775 100644
(file)
--- 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);