mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09: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