mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 00:50:12 +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
This commit is contained in:
parent
0e7f834a6f
commit
db9589f0ce
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,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