loginctl: show pager also for status command

This commit is contained in:
Lennart Poettering 2012-10-17 03:15:16 +02:00
parent 6d0274f115
commit c846716a5a
1 changed files with 1 additions and 2 deletions

View File

@ -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