summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2012-03-26 23:24:34 -0400
committerRay Strode <rstrode@redhat.com>2012-03-26 23:26:19 -0400
commit9e260741e2a8e312d0d7b9c90bdb5b441226555a (patch)
treeba6f006d542c32eef13b4a75508404efb521e343
parentabf7908f0b5054b745ae5342ee0f41ebabaa6511 (diff)
downloadgdm-9e260741e2a8e312d0d7b9c90bdb5b441226555a.tar.gz
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
-rw-r--r--daemon/gdm-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-display.c b/daemon/gdm-display.c
index 2cdbf65e..e885bdfb 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