diff options
Diffstat (limited to 'server/monitor.c')
-rw-r--r-- | server/monitor.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/server/monitor.c b/server/monitor.c index b11e4e0c..f651b79f 100644 --- a/server/monitor.c +++ b/server/monitor.c @@ -204,14 +204,6 @@ int start_monitor(TALLOC_CTX *mem_ctx, return EINVAL; } - /* Initialize D-BUS Server - * The monitor will act as a D-BUS server for all - * SSSD processes */ - ret = monitor_dbus_init(ctx); - if (ret != EOK) { - return ret; - } - for (i = 0; ctx->services[i]; i++) { srv = talloc_zero(ctx, struct mt_srv); @@ -230,6 +222,14 @@ int start_monitor(TALLOC_CTX *mem_ctx, set_tasks_checker(srv); } + + /* Initialize D-BUS Server + * The monitor will act as a D-BUS server for all + * SSSD processes */ + ret = monitor_dbus_init(ctx); + if (ret != EOK) { + return ret; + } return EOK; } |