diff options
Diffstat (limited to 'src/import/importd.c')
-rw-r--r-- | src/import/importd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/import/importd.c b/src/import/importd.c index 3bfa3cdd75..2ecffdec4e 100644 --- a/src/import/importd.c +++ b/src/import/importd.c @@ -1728,9 +1728,10 @@ static int manager_add_bus_objects(Manager *m) { } static bool manager_check_idle(void *userdata) { - Manager *m = userdata; + Manager *m = ASSERT_PTR(userdata); - return hashmap_isempty(m->transfers); + return hashmap_isempty(m->transfers) && + hashmap_isempty(m->polkit_registry); } static void manager_parse_env(Manager *m) { |