settings: ensure config path is absolute
I have a feeling using -D would break this due to the change to cwd?
This commit is contained in:
parent
3f51680a58
commit
89e1b97a92
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ void
|
|||
hts_settings_init(const char *confpath)
|
||||
{
|
||||
if (confpath)
|
||||
settingspath = strdup(confpath);
|
||||
settingspath = realpath(confpath, NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue