diff options
author | Martin Sivak <msivak@redhat.com> | 2011-03-30 15:00:07 +0200 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2011-03-30 15:32:56 +0200 |
commit | 7c83c916cefe0cb1016783b81537e0bf9cc33195 (patch) | |
tree | fc5896047828f58de8a02b134f7b74e46953348d /loader/lang.c | |
parent | 7a0ec83d378cd2757b12dce0f250630e1d0cdda2 (diff) | |
download | anaconda-7c83c916cefe0cb1016783b81537e0bf9cc33195.tar.gz anaconda-7c83c916cefe0cb1016783b81537e0bf9cc33195.tar.xz anaconda-7c83c916cefe0cb1016783b81537e0bf9cc33195.zip |
Do not print out traceback when localedef is not present
This skips the atexit handlers we have in the failed forked copy
to prevent confusing traceback to be printed out.
This shouldn't ever happen in proper install image, but we have
seen it happen in one mangled test compose.
Diffstat (limited to 'loader/lang.c')
-rw-r--r-- | loader/lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/lang.c b/loader/lang.c index 6fe5c59e1..24878a7d5 100644 --- a/loader/lang.c +++ b/loader/lang.c @@ -280,7 +280,7 @@ static int setupLanguage(int choice, int forced) { "-i", locale_p, "-f", (locale_charset) ? locale_charset : "UTF-8", languages[choice].lc_all, NULL); - exit(254); + _exit(254); } if (localedef_pid < 0) logMessage(ERROR, "failed forking localedef for %s", languages[choice].lc_all); |