diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-29 12:19:04 +0400 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-29 12:19:04 +0400 |
commit | 74078685e6dfb5d084901ebf44351f3c77987f3b (patch) | |
tree | 09c346499e7d0426598d483b419fa7c3cf24c08f /applets | |
parent | 843c5ef0f95e0a6f61f4e27d0355aca5e09ee6b1 (diff) |
busybox.c: ENABLE_LOCALE logic correct.
Diffstat (limited to 'applets')
-rw-r--r-- | applets/busybox.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |