summaryrefslogtreecommitdiff
path: root/src/mount
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2018-01-12 16:11:46 +0100
committerFranck Bui <fbui@suse.com>2018-01-12 16:12:14 +0100
commit3b2f30330021430ba05c192b24ac39b51d0c8a86 (patch)
tree50d156984fccec15e321b429c5a77adcdd51f96e /src/mount
parenta3c56345735ed3154fbb218f73ef8a4a54f763b7 (diff)
downloadsystemd-3b2f30330021430ba05c192b24ac39b51d0c8a86.tar.gz
mount: make sure we terminate the bus connection first, and then close the pager
See cf647b69baee4c478d3909c327e3d917e1563f44 commit message for details.
Diffstat (limited to 'src/mount')
-rw-r--r--src/mount/mount-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount/mount-tool.c b/src/mount/mount-tool.c
index 0c312da8e1..cd371268ce 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();