From c846716a5a0c12eb9c7aa566da4666c50cdf2eba Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 17 Oct 2012 03:15:16 +0200 Subject: [PATCH] loginctl: show pager also for status command --- src/login/loginctl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 0d9358d27..97c6617d7 100644 --- a/src/login/loginctl.c +++ b/src/login/loginctl.c @@ -979,8 +979,7 @@ static int show(DBusConnection *bus, char **args, unsigned n) { show_properties = !strstr(args[0], "status"); - if (show_properties) - pager_open_if_enabled(); + pager_open_if_enabled(); if (show_properties && n <= 1) { /* If not argument is specified inspect the manager -- 2.30.2