summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-08 19:39:18 +0000
committerChris Lumens <clumens@redhat.com>2006-05-08 19:39:18 +0000
commit96359a4545de83977a9ba0d2f9fce437a0a171b7 (patch)
tree70d5a6df8e3e7a7dd21323a4aef4605bca0ddf94 /loader2
parentdedf534b69e30a297dc824a33c4d686ca1a16cfa (diff)
downloadanaconda-96359a4545de83977a9ba0d2f9fce437a0a171b7.tar.gz
anaconda-96359a4545de83977a9ba0d2f9fce437a0a171b7.tar.xz
anaconda-96359a4545de83977a9ba0d2f9fce437a0a171b7.zip
Don't pop up an invisible window asking for a right keymap in cmdline mode.
Diffstat (limited to 'loader2')
-rw-r--r--loader2/loader.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/loader2/loader.c b/loader2/loader.c
index 610c29e24..5d32a0ed2 100644
--- a/loader2/loader.c
+++ b/loader2/loader.c
@@ -863,7 +863,10 @@ static char *doLoaderMain(char * location,
} else {
/* JKFIXME: should handle kbdtype, too probably... but it
* just matters for sparc */
- rc = chooseKeyboard(loaderData, &kbdtype, flags);
+ if (!FL_CMDLINE(flags))
+ rc = chooseKeyboard(loaderData, &kbdtype, flags);
+ else
+ rc = LOADER_NOOP;
}
if (rc == LOADER_NOOP) {
if (dir == -1)