a/src/index/recollindex.cpp b/src/index/recollindex.cpp
...
...
199
    fprintf(fp, "Recoll version: %s\n", Rcl::version_string().c_str());
199
    fprintf(fp, "Recoll version: %s\n", Rcl::version_string().c_str());
200
    exit((op_flags & OPT_h)==0);
200
    exit((op_flags & OPT_h)==0);
201
}
201
}
202
202
203
static RclConfig *config;
203
static RclConfig *config;
204
RclConfig *RclConfig::getMainConfig() 
205
{
206
    return config;
207
}
208
204
209
void lockorexit(Pidfile *pidfile)
205
void lockorexit(Pidfile *pidfile)
210
{
206
{
211
    pid_t pid;
207
    pid_t pid;
212
    if ((pid = pidfile->open()) != 0) {
208
    if ((pid = pidfile->open()) != 0) {