Comment the fact that some tools need to termintate their bus connect first

This commit is contained in:
Franck Bui
2018-01-12 16:20:36 +01:00
parent 3b2f303300
commit 0a84daa5aa
6 changed files with 12 additions and 2 deletions
+2
View File
@@ -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();