aboutsummaryrefslogtreecommitdiff
path: root/applets/busybox.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/busybox.c')
-rw-r--r--applets/busybox.c2
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);