From: Franck Bui Date: Fri, 12 Jan 2018 15:11:46 +0000 (+0100) Subject: mount: make sure we terminate the bus connection first, and then close the pager X-Git-Tag: v237~113^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3b2f30330021430ba05c192b24ac39b51d0c8a86;p=thirdparty%2Fsystemd.git mount: make sure we terminate the bus connection first, and then close the pager See cf647b69baee4c478d3909c327e3d917e1563f44 commit message for details. --- diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c index 0c312da8e11..cd371268ce3 100644 --- a/src/mount/mount-tool.c +++ b/src/mount/mount-tool.c @@ -1563,7 +1563,7 @@ finish: } int main(int argc, char* argv[]) { - _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL; + sd_bus *bus = NULL; int r; log_parse_environment();