View | Details | Raw Unified | Return to bug 47499
Collapse All | Expand All

(-)a/src/daemon.c (-3 / +5 lines)
Lines 292-298 entry_generator_fgetpwent (Daemon *daemon, Link Here
292
292
293
                generator_state = g_malloc0 (sizeof(*generator_state));
293
                generator_state = g_malloc0 (sizeof(*generator_state));
294
                generator_state->fp = fp;
294
                generator_state->fp = fp;
295
                generator_state->shadow_users = shadow_users;
295
                generator_state->shadow_users = NULL;
296
296
297
                *state = generator_state;
297
                *state = generator_state;
298
        }
298
        }
Lines 572-580 reload_users (Daemon *daemon) Link Here
572
        g_hash_table_iter_init (&iter, users);
572
        g_hash_table_iter_init (&iter, users);
573
        while (g_hash_table_iter_next (&iter, &name, &value)) {
573
        while (g_hash_table_iter_next (&iter, &name, &value)) {
574
                User *user = value;
574
                User *user = value;
575
                if (!user_get_system_account (user))
575
                if (!user_get_system_account (user)) {
576
                        number_of_normal_users++;
576
                        number_of_normal_users++;
577
                user_update_local_account_property (user, g_hash_table_contains (local_users, name));
577
                } else {
578
                        user_update_local_account_property (user, g_hash_table_contains (local_users, name));
579
                }
578
        }
580
        }
579
        g_clear_pointer (&local_users, g_hash_table_destroy);
581
        g_clear_pointer (&local_users, g_hash_table_destroy);
580
582

Return to bug 47499