systemctl: when status is called without arguments show pager

This commit is contained in:
Lennart Poettering
2013-11-25 17:40:54 +01:00
parent 2c7e050f61
commit dbed408b8e
+2
View File
@@ -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);