From: Lennart Poettering Date: Tue, 12 Dec 2017 22:26:08 +0000 (+0100) Subject: sd-bus: minor coding style fix X-Git-Tag: v237~139^2~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b33652fe9117466a2b05bbc698cd1037f439dd9b;p=thirdparty%2Fsystemd.git sd-bus: minor coding style fix --- diff --git a/src/libsystemd/sd-bus/sd-bus.c b/src/libsystemd/sd-bus/sd-bus.c index 5111222dadd..9daa758a1c4 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 */