diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-24 13:34:08 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-29 21:55:52 +0200 |
commit | f0792aae430562a59f95d8ec3d9773cbeb032f43 (patch) | |
tree | 9425df9c69aa8224720206741e7e38b6e7f48a95 | |
parent | f0960da0fa564c6cf762ba907040d15c9db1bdba (diff) |
update-utmp: flush and close the bus used for connections after use
-rw-r--r-- | src/update-utmp/update-utmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index 22ef79165a..bcabf65a36 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -279,6 +279,6 @@ finish: audit_close(c.audit_fd); #endif - sd_bus_unref(c.bus); + sd_bus_flush_close_unref(c.bus); return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS; } |