summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-15 16:51:01 +0000
committerMatt Wilson <msw@redhat.com>2000-08-15 16:51:01 +0000
commitcf4ac62d4a5b0f65cdfcde4c7f4e524df1791654 (patch)
treeebe41509a57e16bc1fdd464dcc71fdee69b2a862
parentebd7b38bbc1e86b4a8b710518f3dc527fca5992e (diff)
downloadanaconda-cf4ac62d4a5b0f65cdfcde4c7f4e524df1791654.tar.gz
anaconda-cf4ac62d4a5b0f65cdfcde4c7f4e524df1791654.tar.xz
anaconda-cf4ac62d4a5b0f65cdfcde4c7f4e524df1791654.zip
don't start kon when in testing mode
-rw-r--r--loader/lang.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/loader/lang.c b/loader/lang.c
index adfbbe18d..e0a74fb83 100644
--- a/loader/lang.c
+++ b/loader/lang.c
@@ -315,11 +315,12 @@ int chooseLanguage(char ** lang, int flags) {
extern int continuing;
extern void stopNewt(void);
- if (!strcmp (languages[choice].key, "ja") && !continuing) {
+ if (!strcmp (languages[choice].key, "ja") && !continuing
+ && !FL_TESTING(flags)) {
char * args[4];
stopNewt();
-
+
args[0] = "kon";
args[1] = "-e";
args[2] = FL_TESTING(flags) ? "./loader" : "/sbin/continue";