mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
loginctl: show pager also for status command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user