core: don't dispatch load queue when setting Slice= for transient units
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2016 15:30:08 +0000 (17:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Apr 2016 15:30:08 +0000 (17:30 +0200)
commitaea529e5b2c864d536941ee18220abcc1a9015a0
treebaac50d737a147e910dc17cae9c9c5b1884ce005
parent5bda1f47b3f4b91e55df2f5a773fc83d3e7bf4fd
core: don't dispatch load queue when setting Slice= for transient units

Let's be more careful when setting up the Slice= property of transient units:
let's use manager_load_unit_prepare() instead of manager_load_unit(), so that
the load queue isn't dispatched right away, because our own transient unit is
in it, and we don#t want to have it loaded until we finished initializing it.
src/core/dbus-unit.c