mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
loginctl: show pager also for status command
This commit is contained in:
parent
6d0274f115
commit
c846716a5a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user