core: in bus_init_system() make sure we setup the system bus even if we inherit the...
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Feb 2018 21:47:26 +0000 (22:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 12 Feb 2018 10:34:00 +0000 (11:34 +0100)
commit931e47547d97e2d72e748d8147f9adba6113473b
treef66eb3fea6c88dee76829012c1adb84cae89b9b3
parent6edd281cb88e1efc6253b418d03fdbf1d05b0af3
core: in bus_init_system() make sure we setup the system bus even if we inherit the API bus

This corrects the control flow: when we reuse the API bus as system bus,
let's definitely invoke bus_init_system() too, so that it is called
regardless how we acquired the bus object.

(Note that this doesn't actually change anything, as we only inherit the
bus like this in system mode, and bus_init_system() doesn't do anything
in system bus, besides writing a log message)
src/core/dbus.c