[gdm] display: fix autologin



commit 9e260741e2a8e312d0d7b9c90bdb5b441226555a
Author: Ray Strode <rstrode redhat com>
Date:   Mon Mar 26 23:24:34 2012 -0400

    display: fix autologin
    
    commit b436764275e513ebd5b0546ab047f0fce2f34b35 tried to prevent
    autologin on auxilliary seats, but the conditional was inverted,
    so it ended up preventing autologin on the primary seat.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672773

 daemon/gdm-display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c
index 2cdbf65..e885bdf 100644
--- a/daemon/gdm-display.c
+++ b/daemon/gdm-display.c
@@ -322,7 +322,7 @@ gdm_display_real_get_timed_login_details (GdmDisplay *display,
          * can support auto/timed login on auxilliary seats in the
          * systemd path.
          */
-        if (g_strcmp0 (display->priv->seat_id, "seat0") == 0) {
+        if (g_strcmp0 (display->priv->seat_id, "seat0") != 0) {
                 goto out;
         }
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]