This commit is contained in:
hazen2215 2022-04-16 19:04:18 +09:00
parent 0da8442e84
commit 2f4b5d38dd
1 changed files with 1 additions and 0 deletions

View File

@ -779,6 +779,7 @@ execsh(char *cmd, char **args)
unsetenv("COLUMNS");
unsetenv("LINES");
unsetenv("TERMCAP");
unsetenv("XMODIFIERS");
setenv("LOGNAME", pw->pw_name, 1);
setenv("USER", pw->pw_name, 1);
setenv("SHELL", sh, 1);