summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2018-01-12 16:20:36 +0100
committerFranck Bui <fbui@suse.com>2018-01-12 16:20:36 +0100
commit0a84daa5aa8ef8661348a5f05cc2aaf7e7593d06 (patch)
tree3a161c70cb0ab8e7c305261346d9b001d549bbca /src/machine
parent3b2f30330021430ba05c192b24ac39b51d0c8a86 (diff)
downloadsystemd-0a84daa5aa8ef8661348a5f05cc2aaf7e7593d06.tar.gz
Comment the fact that some tools need to termintate their bus connect first
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 2 insertions, 0 deletions
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();