summaryrefslogtreecommitdiff
path: root/daemon/gdm-session-worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/gdm-session-worker.c')
-rw-r--r--daemon/gdm-session-worker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index 8c4dc3ab..f2850133 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -655,6 +655,7 @@ gdm_session_worker_update_username (GdmSessionWorker *worker)
* to keep trying to read settings)
*/
if (worker->priv->username != NULL &&
+ worker->priv->username[0] != '\0' &&
!gdm_session_settings_is_loaded (worker->priv->user_settings)) {
attempt_to_load_user_settings (worker, worker->priv->username);
}