remove setting of LANG env var completly (lang is setup with a default value earlier)

This commit is contained in:
xelantro 2024-02-13 00:33:48 +00:00 committed by GitHub
parent fb8fb7b22d
commit 02c88351ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -221,11 +221,6 @@ void env_init(struct passwd* pwd)
setenv("USER", pwd->pw_name, 1); setenv("USER", pwd->pw_name, 1);
setenv("LOGNAME", pwd->pw_name, 1); setenv("LOGNAME", pwd->pw_name, 1);
if (lang)
{
setenv("LANG", lang, 1);
}
// Set PATH if specified in the configuration // Set PATH if specified in the configuration
if (strlen(config.path)) if (strlen(config.path))
{ {