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
...@@ -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++) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment