diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:28:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:40:54 +0100 |
commit | dbed408b8e07602c3169af79393b5a3fbd7036b1 (patch) | |
tree | 8b6f77c2d30ab78894a1ee4e6c5853f924c36b43 /src | |
parent | 2c7e050f61d1bf142389edd4eb83c1dc58c5c641 (diff) |
systemctl: when status is called without arguments show pager
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index fa6447607a..d4d46f300f 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); |