I'm so sorry krizej
This commit is contained in:
parent
fa46131ee5
commit
e405ccdf2a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ char *default_config_path(void) {
|
|||
|
||||
char *config_dir = getenv("XDG_CONFIG_HOME");
|
||||
if (config_dir == NULL) {
|
||||
char *home = getenv("$HOME");
|
||||
char *home = getenv("HOME");
|
||||
if (asprintf(&config_dir, "%s/.config", home) < 0) {
|
||||
fprintf(stderr, "error: failed formatting config dir (this shouldn't happen)");
|
||||
exit(EXIT_FAILURE);
|
||||
|
|
Loading…
Reference in a new issue