summaryrefslogtreecommitdiffstats
path: root/loader/lang.c
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2011-03-30 15:00:07 +0200
committerMartin Sivak <msivak@redhat.com>2011-03-30 15:32:56 +0200
commit7c83c916cefe0cb1016783b81537e0bf9cc33195 (patch)
treefc5896047828f58de8a02b134f7b74e46953348d /loader/lang.c
parent7a0ec83d378cd2757b12dce0f250630e1d0cdda2 (diff)
downloadanaconda-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.c2
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);