[PATCH] Do not print out traceback when localedef is not present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/lang.c b/loader/lang.c
index f3e00df..1c7a68c 100644
--- a/loader/lang.c
+++ b/loader/lang.c
@@ -299,7 +299,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);
-- 
1.7.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux