diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-23 03:43:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-23 04:20:55 +0100 |
commit | 8f04d2ebbaa5f330e5240d29917c02bce9892cff (patch) | |
tree | 8cf0bb91535b9c010dc420fc4084f0276931bc0a /src/libsystemd-bus/bus-container.c | |
parent | cd789fdf45f188197bf99998e5a8be0f8c614c66 (diff) |
bus: make sure to request peer cred only after connect(), not before
Diffstat (limited to 'src/libsystemd-bus/bus-container.c')
-rw-r--r-- | src/libsystemd-bus/bus-container.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libsystemd-bus/bus-container.c b/src/libsystemd-bus/bus-container.c index 02886c4ded..1989afa82a 100644 --- a/src/libsystemd-bus/bus-container.c +++ b/src/libsystemd-bus/bus-container.c @@ -52,9 +52,7 @@ int bus_container_connect_socket(sd_bus *b) { b->output_fd = b->input_fd; - r = bus_socket_setup(b); - if (r < 0) - return r; + bus_socket_setup(b); child = fork(); if (child < 0) |