From 583f695baa1e925697d1eb4b4d9f4bc818c32452 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 12 Jan 2018 16:20:36 +0100 Subject: [PATCH] Comment the fact that some tools need to termintate their bus connect first --- src/login/loginctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.30.2