summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-10-17 03:15:16 +0200
committerLennart Poettering <lennart@poettering.net>2012-10-17 21:25:42 +0200
commitc846716a5a0c12eb9c7aa566da4666c50cdf2eba (patch)
tree8519d3eb02e2d548dea08082684f489a4660fb10
parent6d0274f11547a0f11200bb82bf598a5a253e12cf (diff)
loginctl: show pager also for status command
-rw-r--r--src/login/loginctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c
index 0d9358d279..97c6617d7d 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