summaryrefslogtreecommitdiff
path: root/src/cgroups-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgroups-agent.c')
-rw-r--r--src/cgroups-agent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cgroups-agent.c b/src/cgroups-agent.c
index 6f7a857eaf..30aeede943 100644
--- a/src/cgroups-agent.c
+++ b/src/cgroups-agent.c
@@ -82,6 +82,7 @@ int main(int argc, char *argv[]) {
finish:
if (bus) {
+ dbus_connection_flush(bus);
dbus_connection_close(bus);
dbus_connection_unref(bus);
}