* 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:
Justin Maggard 2009-07-09 17:54:26 +00:00
parent 2ea232b518
commit 4378b09557

View File

@ -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",