mirror of https://github.com/fairyglade/ly.git
remove setting of LANG env var completly (lang is setup with a default value earlier)
This commit is contained in:
parent
fb8fb7b22d
commit
02c88351ea
|
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue