chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d0274f
)
loginctl: show pager also for status command
author
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Oct 2012 01:15:16 +0000
(
03:15
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 17 Oct 2012 19:25:42 +0000
(21:25 +0200)
src/login/loginctl.c
patch
|
blob
|
history
diff --git
a/src/login/loginctl.c
b/src/login/loginctl.c
index 0d9358d279cb395b1645bc9637beecf532a69727..97c6617d7d4ef3f131d3e36584acdd6afba7b52b 100644
(file)
--- 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