mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 11:40:08 +01:00
session-monitor: fix parsing of ConsoleKit database
The section name is "Session", not "CkSession". Restore the correct value, changed by commit0de60b300e("session: merge nm-session-monitor-* modules"). Fixes:0de60b300ehttps://bugzilla.gnome.org/show_bug.cgi?id=772640 (cherry picked from commitdb9589f0ce)
This commit is contained in:
parent
edf4bf2f35
commit
cfe74bc01a
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ ck_load_cache (GHashTable *cache)
|
|||
guint uid = G_MAXUINT;
|
||||
CkSession session = { .active = FALSE };
|
||||
|
||||
if (!g_str_has_prefix (groups[i], "CkSession "))
|
||||
if (!g_str_has_prefix (groups[i], "Session "))
|
||||
continue;
|
||||
|
||||
uid = g_key_file_get_integer (keyfile, groups[i], "uid", &error);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue