mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-28 01:35:32 +00:00
[config] Support for HOME_ETC
This commit is contained in:
parent
e47de997d5
commit
6860de5a8d
|
@ -110,7 +110,7 @@ static char *
|
||||||
get_home(void)
|
get_home(void)
|
||||||
{
|
{
|
||||||
char *home_elinks;
|
char *home_elinks;
|
||||||
char *envhome = getenv("HOME");
|
char *envhome = getenv("HOME_ETC") ?: getenv("HOME");
|
||||||
char *home = NULL;
|
char *home = NULL;
|
||||||
|
|
||||||
if (!home && envhome)
|
if (!home && envhome)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user