mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
Readlink (#117)
* 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:
Binary file not shown.
@ -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",
|
||||
|
Reference in New Issue
Block a user