From 0a84daa5aa8ef8661348a5f05cc2aaf7e7593d06 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 12 Jan 2018 16:20:36 +0100 Subject: Comment the fact that some tools need to termintate their bus connect first --- src/machine/machinectl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/machine') diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index ad6efc10c4..75743ce6a6 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -3166,6 +3166,8 @@ int main(int argc, char*argv[]) { r = machinectl_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(); polkit_agent_close(); -- cgit v1.2.1