]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mount: make sure we terminate the bus connection first, and then close the pager
authorFranck Bui <fbui@suse.com>
Fri, 12 Jan 2018 15:11:46 +0000 (16:11 +0100)
committerFranck Bui <fbui@suse.com>
Fri, 12 Jan 2018 15:12:14 +0000 (16:12 +0100)
See cf647b69baee4c478d3909c327e3d917e1563f44 commit message for details.

src/mount/mount-tool.c

index 0c312da8e111d4c959907b510da6a7473545820b..cd371268ce3a6962346e51e4103047613f4831fa 100644 (file)
@@ -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();