From 7c83c916cefe0cb1016783b81537e0bf9cc33195 Mon Sep 17 00:00:00 2001 From: Martin Sivak Date: Wed, 30 Mar 2011 15:00:07 +0200 Subject: 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. --- loader/lang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/lang.c') 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); -- cgit