From 74078685e6dfb5d084901ebf44351f3c77987f3b Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Thu, 29 Sep 2005 08:19:04 +0000 Subject: [PATCH] busybox.c: ENABLE_LOCALE logic correct. --- applets/busybox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applets/busybox.c b/applets/busybox.c index 833e8d372..90ea2bdce 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -70,7 +70,7 @@ int main(int argc, char **argv) if (*(s++) == '/') bb_applet_name = s; /* Set locale for everybody except `init' */ - if(ENABLE_LOCALE_SUPPORT && (!ENABLE_INIT || getpid()==1)) + if(ENABLE_LOCALE_SUPPORT && getpid() != 1) setlocale(LC_ALL, ""); run_applet_by_name(bb_applet_name, argc, argv); -- 2.25.1