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:
718ef09
)
Comment the fact that some tools need to termintate their bus connect first
author
Franck Bui
<fbui@suse.com>
Fri, 12 Jan 2018 15:20:36 +0000
(16:20 +0100)
committer
Sven Eden
<yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:04 +0000
(07:50 +0200)
src/login/loginctl.c
patch
|
blob
|
history
diff --git
a/src/login/loginctl.c
b/src/login/loginctl.c
index 2b8f4fb4728fb2fb3039e53d4acf89b310cb13eb..705d056c88e7c23d5741422008155e6b3b9a02dc 100644
(file)
--- a/
src/login/loginctl.c
+++ b/
src/login/loginctl.c
@@
-1698,8
+1698,9
@@
int main(int argc, char *argv[]) {
r = loginctl_main(argc, argv, bus);
finish:
+ /* make sure we terminate the bus connection first, and then close the
+ * pager, see issue #3543 for the details. */
sd_bus_flush_close_unref(bus);
-
pager_close();
#if 0 /// elogind does that in elogind_cleanup()
polkit_agent_close();