diff options
-rw-r--r-- | libbb/appletlib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index f7c416ece..a0150854a 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -184,8 +184,7 @@ void lbb_prepare(const char *applet | |||
184 | #endif | 184 | #endif |
185 | applet_name = applet; | 185 | applet_name = applet; |
186 | 186 | ||
187 | /* Set locale for everybody except 'init' */ | 187 | if (ENABLE_LOCALE_SUPPORT) |
188 | if (ENABLE_LOCALE_SUPPORT && getpid() != 1) | ||
189 | setlocale(LC_ALL, ""); | 188 | setlocale(LC_ALL, ""); |
190 | 189 | ||
191 | #if ENABLE_FEATURE_INDIVIDUAL | 190 | #if ENABLE_FEATURE_INDIVIDUAL |