summaryrefslogtreecommitdiff
path: root/src/busctl
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/busctl
parent3b2f30330021430ba05c192b24ac39b51d0c8a86 (diff)
downloadsystemd-0a84daa5aa8ef8661348a5f05cc2aaf7e7593d06.tar.gz
systemd-0a84daa5aa8ef8661348a5f05cc2aaf7e7593d06.tar.bz2
systemd-0a84daa5aa8ef8661348a5f05cc2aaf7e7593d06.zip
Comment the fact that some tools need to termintate their bus connect first
Diffstat (limited to 'src/busctl')
-rw-r--r--src/busctl/busctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c
index 18c65c5a34..f8c43b5079 100644
--- a/src/busctl/busctl.c
+++ b/src/busctl/busctl.c
@@ -2113,6 +2113,8 @@ int main(int argc, char *argv[]) {
r = busctl_main(bus, argc, argv);
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();