diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-12-12 23:26:08 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:49:54 +0200 |
commit | a639426556723ce0856d99922dd2a64c835670a6 (patch) | |
tree | a86e2f9c4aede912e6f00f02925188af14a22cf5 | |
parent | eb9f1473946d7dc7b753ac3bfdbe0e8367b3eda1 (diff) |
sd-bus: minor coding style fix
-rw-r--r-- | src/libelogind/sd-bus/sd-bus.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libelogind/sd-bus/sd-bus.c b/src/libelogind/sd-bus/sd-bus.c index cceec65b5..cd9b01099 100644 --- a/src/libelogind/sd-bus/sd-bus.c +++ b/src/libelogind/sd-bus/sd-bus.c @@ -3276,12 +3276,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 */ |