diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-03-29 23:45:00 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-03-30 15:21:55 +0100 |
commit | 3d339fec29178af415cb5367fdf3b53fab3093c2 (patch) | |
tree | eae71f6978fb92de6c0e0352b4de2b3ccf81a104 /src | |
parent | 9d373862243c7807e04a0c56ac5dfab3adbb410c (diff) |
bus: properly set up bus connections with sd_bus_set_exec()
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-bus/sd-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c index 314fa6b6bf..870d617ac1 100644 --- a/src/libsystemd-bus/sd-bus.c +++ b/src/libsystemd-bus/sd-bus.c @@ -718,7 +718,7 @@ int sd_bus_start(sd_bus *bus) { if (bus->fd >= 0) r = bus_start_fd(bus); - else if (bus->address) + else if (bus->address || bus->sockaddr.sa.sa_family != AF_UNSPEC || bus->exec_path) r = bus_start_address(bus); else return -EINVAL; |