default value isn't used when path doesn't exist
This commit is contained in:
parent
13b2e37635
commit
7834471f78
|
@ -23,7 +23,7 @@ char *default_path(const char *biphome, const char *filename, const char *desc)
|
||||||
strcpy(conf_file, biphome);
|
strcpy(conf_file, biphome);
|
||||||
conf_file[strlen(biphome)] = '/';
|
conf_file[strlen(biphome)] = '/';
|
||||||
strcat(conf_file, filename);
|
strcat(conf_file, filename);
|
||||||
mylog(LOG_INFO, "Using default %s: %s", desc, conf_file);
|
mylog(LOG_INFO, "Default %s: %s", desc, conf_file);
|
||||||
return conf_file;
|
return conf_file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue