diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-12 23:26:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-01-05 13:55:08 +0100 |
commit | b33652fe9117466a2b05bbc698cd1037f439dd9b (patch) | |
tree | 96b6604e77f4a0b3b671f341bca9f39b07415395 /src/libsystemd/sd-bus | |
parent | 6ae22ffb723f5b15a7cf5fb71895a202b29d4210 (diff) | |
download | systemd-b33652fe9117466a2b05bbc698cd1037f439dd9b.tar.gz |
sd-bus: minor coding style fix
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r-- | src/libsystemd/sd-bus/sd-bus.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 5111222dad..9daa758a1c 100644 --- a/src/libsystemd/sd-bus/sd-bus.c +++ b/src/libsystemd/sd-bus/sd-bus.c @@ -3253,12 +3253,9 @@ _public_ int sd_bus_default(sd_bus **ret) { /* No type is specified, so we have not other option than to * use the starter address if it is set. */ - e = secure_getenv("DBUS_STARTER_ADDRESS"); - if (e) { - + if (e) return bus_default(sd_bus_open, &default_starter_bus, ret); - } /* Finally, if nothing is set use the cached connection for * the right scope */ |