Merge pull request #556 from neuroscr/issue547-2

handle relative config paths better
pull/559/head
Ryan Tharp 5 years ago committed by GitHub
commit 124e9dc4bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -64,8 +64,9 @@ resolvePath(std::string conffname)
char *resolvedPath = realpath(exp_result.we_wordv[0], NULL);
if(!resolvedPath)
{
llarp::LogWarn("Can't resolve path: ", exp_result.we_wordv[0]);
return "";
// relative paths don't need to be resolved
// llarp::LogWarn("Can't resolve path: ", exp_result.we_wordv[0]);
return conffname;
}
return resolvedPath;
#else

Loading…
Cancel
Save