From 02c88351ea73894910dff6a850ee3d29042016de Mon Sep 17 00:00:00 2001 From: xelantro <40129767+xelantro@users.noreply.github.com> Date: Tue, 13 Feb 2024 00:33:48 +0000 Subject: [PATCH] remove setting of LANG env var completly (lang is setup with a default value earlier) --- src/login.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/login.c b/src/login.c index 20bc2aa..a176303 100644 --- a/src/login.c +++ b/src/login.c @@ -220,11 +220,6 @@ void env_init(struct passwd* pwd) setenv("SHELL", pwd->pw_shell, 1); setenv("USER", pwd->pw_name, 1); setenv("LOGNAME", pwd->pw_name, 1); - - if (lang) - { - setenv("LANG", lang, 1); - } // Set PATH if specified in the configuration if (strlen(config.path))