chiark / gitweb /
bus: make sure to request peer cred only after connect(), not before
[elogind.git] / src / libsystemd-bus / bus-container.c
index 02886c4ded1ab47a6bd9f1aa2d31e204aa3d0750..1989afa82a2749b45b30282d99725623a7f10153 100644 (file)
@@ -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)