From: Franck Bui Date: Fri, 12 Jan 2018 15:20:36 +0000 (+0100) Subject: Comment the fact that some tools need to termintate their bus connect first X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=583f695baa1e925697d1eb4b4d9f4bc818c32452;p=elogind.git Comment the fact that some tools need to termintate their bus connect first --- diff --git a/src/login/loginctl.c b/src/login/loginctl.c index 2b8f4fb47..705d056c8 100644 --- 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();