1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-23 10:50:16 +03:00

journalctl: open pager for --dump-catalog and --list-catalog

This commit is contained in:
Evgeny Vereshchagin 2015-10-13 09:01:37 +03:00
parent 7e3ce75d34
commit dd598123a9

View 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);