chiark / gitweb /
systemctl: autopage always if systemctl status is invoked without args
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2014 02:58:56 +0000 (03:58 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Mar 2014 03:17:37 +0000 (04:17 +0100)
src/systemctl/systemctl.c

index 21bf51bb3eb30617751f0d8afb5bcc54cd01cab7..254ca10c4fff75ee94a11591a378e475aef0ac15 100644 (file)
@@ -4154,9 +4154,7 @@ static int show(sd_bus *bus, char **args) {
 
         if (show_status && strv_length(args) <= 1) {
 
 
         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;
 
                 show_system_status(bus);
                 new_line = true;