From dbed408b8e07602c3169af79393b5a3fbd7036b1 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Nov 2013 17:28:42 +0100 Subject: [PATCH] systemctl: when status is called without arguments show pager --- src/systemctl/systemctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index fa6447607..d4d46f300 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -3654,6 +3654,8 @@ static int show_all( if (r < 0) return r; + pager_open_if_enabled(); + c = (unsigned) r; qsort_safe(unit_infos, c, sizeof(UnitInfo), compare_unit_info); -- 2.30.2