On initial logind update, the internal 'active' state is FALSE. Where querying the current state (`sd_uid_get_state`) returns 'active' we do NOT want to short-circuit the update to the internal state value and ultimate transport initialisation. --- obexd/src/logind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obexd/src/logind.c b/obexd/src/logind.c index b4279b209..e681dd39f 100644 --- a/obexd/src/logind.c +++ b/obexd/src/logind.c @@ -68,7 +68,7 @@ static int update(void) return res; if (state_is_active) { - if (!active) + if (active) return 0; } else { res = sd_uid_get_seats(uid, 1, NULL); -- 2.50.0