summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-13 03:58:56 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-13 04:17:37 +0100
commitc3441de0613490a1f29d5f1fd0856e07e7c90b49 (patch)
treeeb4ec4de63bae138bdd390387a55468d0fa86273
parentea6c2dd1f819c3d481fc590849809aeb552c1d48 (diff)
systemctl: autopage always if systemctl status is invoked without args
-rw-r--r--src/systemctl/systemctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c
index 21bf51bb3e..254ca10c4f 100644
--- a/src/systemctl/systemctl.c
+++ b/src/systemctl/systemctl.c
@@ -4154,9 +4154,7 @@ static int show(sd_bus *bus, char **args) {
if (show_status && strv_length(args) <= 1) {
- if (arg_all)
- pager_open_if_enabled();
-
+ pager_open_if_enabled();
show_system_status(bus);
new_line = true;