localectl: read X11 keymaps from the correct file

As reported by Sergey Udaltsov.
This commit is contained in:
Lennart Poettering 2013-04-15 01:30:18 +02:00
parent 1e8e0a3221
commit c62e11ce39

View file

@ -627,7 +627,7 @@ static int list_x11_keymaps(DBusConnection *bus, char **args, unsigned n) {
return -EINVAL;
}
f = fopen("/usr/share/X11/xkb/rules/xorg.lst", "re");
f = fopen("/usr/share/X11/xkb/rules/base.lst", "re");
if (!f) {
log_error("Failed to open keyboard mapping list. %m");
return -errno;