* If the realpath() function does not work with the non-standard "resolved_path == NULL" feature, then just take the conf file at its word that the specified path is correct.
This commit is contained in:
parent
2ea232b518
commit
4378b09557
@ -316,6 +316,8 @@ init(int argc, char * * argv)
|
||||
myval = index(ary_options[i].value, '/');
|
||||
case '/':
|
||||
path = realpath(myval ? myval:ary_options[i].value, NULL);
|
||||
if( !path )
|
||||
path = strdup(myval ? myval:ary_options[i].value);
|
||||
if( access(path, F_OK) != 0 )
|
||||
{
|
||||
fprintf(stderr, "Media directory not accessible! [%s]\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user