diff options
author | Matt Wilson <msw@redhat.com> | 2000-08-15 16:51:01 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-08-15 16:51:01 +0000 |
commit | cf4ac62d4a5b0f65cdfcde4c7f4e524df1791654 (patch) | |
tree | ebe41509a57e16bc1fdd464dcc71fdee69b2a862 | |
parent | ebd7b38bbc1e86b4a8b710518f3dc527fca5992e (diff) | |
download | anaconda-cf4ac62d4a5b0f65cdfcde4c7f4e524df1791654.tar.gz anaconda-cf4ac62d4a5b0f65cdfcde4c7f4e524df1791654.tar.xz anaconda-cf4ac62d4a5b0f65cdfcde4c7f4e524df1791654.zip |
don't start kon when in testing mode
-rw-r--r-- | loader/lang.c | 5 |
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"; |