Skip to content
Snippets Groups Projects
Commit ff93f4ae authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Clearer log message when specified relative path config file doesn't exist.

parent 5d55ff03
No related branches found
No related tags found
No related merge requests found
......@@ -168,8 +168,8 @@ int main(int argc, char **argv)
// Get absolute path to cwd
char *rpath = realpath(config_fn, NULL);
if (rpath == NULL) {
log_server_error("Couldn't get current working directory - "
"%s.\n", strerror(errno));
log_server_error("Couldn't get absolute path for configuration file '%s' - "
"%s.\n", config_fn, strerror(errno));
return 1;
} else {
free(config_fn);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment