Skip to content
Snippets Groups Projects
Commit da5d119e authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Revert "Force HOME to be defined or libxdg-basedir returns no directories"

This reverts commit 740e9557.
parent e5e86625
No related branches found
No related tags found
No related merge requests found
...@@ -260,7 +260,6 @@ struct moberg *moberg_new() ...@@ -260,7 +260,6 @@ struct moberg *moberg_new()
memset(result, 0, sizeof(*result)); memset(result, 0, sizeof(*result));
/* Parse default configuration(s) */ /* Parse default configuration(s) */
setenv("HOME", "/", 0);
const char * const *config_paths = xdgSearchableConfigDirectories(NULL); const char * const *config_paths = xdgSearchableConfigDirectories(NULL);
const char * const *path; const char * const *path;
for (path = config_paths ; *path ; path++) { for (path = config_paths ; *path ; path++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment