diff options
Diffstat (limited to 'busybox.c')
-rw-r--r-- | busybox.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -82,9 +82,13 @@ int main(int argc, char **argv) | |||
82 | } | 82 | } |
83 | #endif | 83 | #endif |
84 | 84 | ||
85 | #ifdef BB_LOCALE_SUPPORT | 85 | #ifdef BB_LOCALE_SUPPORT |
86 | #ifdef BB_INIT | ||
86 | if(getpid()!=1) /* Do not set locale for `init' */ | 87 | if(getpid()!=1) /* Do not set locale for `init' */ |
88 | #endif | ||
89 | { | ||
87 | setlocale(LC_ALL, ""); | 90 | setlocale(LC_ALL, ""); |
91 | } | ||
88 | #endif | 92 | #endif |
89 | 93 | ||
90 | run_applet_by_name(applet_name, argc, argv); | 94 | run_applet_by_name(applet_name, argc, argv); |