diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-12-24 00:46:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-12-24 00:46:19 +0100 |
commit | 7b8f930ce4b4b1f08f3066fe9bf971ccc1630be8 (patch) | |
tree | 7f124461ffa80a01fea918f7f64b807e19674cc8 /src/core/manager.c | |
parent | 838c669055ddbbd04998ffc345a81f6fddbb9cfe (diff) | |
parent | 8936a5e34dbfa9274348f3fef99f7c9f9327ddf9 (diff) |
Merge pull request #2216 from zonque/nameownerchanged
core: re-sync bus name list after deserializing during daemon-reload
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index e65616adc1..ffe27be743 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -2574,6 +2574,10 @@ int manager_reload(Manager *m) { /* Third, fire things up! */ manager_coldplug(m); + /* Sync current state of bus names with our set of listening units */ + if (m->api_bus) + manager_sync_bus_names(m, m->api_bus); + assert(m->n_reloading > 0); m->n_reloading--; |