* gotthard config file path using readlink

* gotthard2

* eiger

* eieger, mnythen3, moench

* binaries in

* moved readlink to a common function

* binaries in
This commit is contained in:
Dhanya Thattil
2020-07-23 12:17:46 +02:00
committed by GitHub
parent beb6afe101
commit ad297e9c51
15 changed files with 73 additions and 15 deletions

View File

@ -485,7 +485,13 @@ int readConfigFile() {
usleep(INITIAL_STARTUP_WAIT);
FILE *fd = fopen(CONFIG_FILE, "r");
char fname[128];
if (getAbsPath(fname, 128, CONFIG_FILE) == FAIL) {
return FAIL;
}
// open config file
FILE *fd = fopen(fname, "r");
if (fd == NULL) {
sprintf(initErrorMessage,
"Could not open on-board detector server config file [%s].\n",