allow indexer and query tools to use different log files

This commit is contained in:
Jean-Francois Dockes
2015-12-01 14:31:33 +01:00
parent bb2eb546c8
commit 60b1044842
3 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -502,7 +502,7 @@ int main(int argc, char **argv)
}
string reason;
RclInitFlags flags = (op_flags & OPT_m) && !(op_flags&OPT_D) ?
RCLINIT_DAEMON : RCLINIT_NONE;
RCLINIT_DAEMON : RCLINIT_IDX;
config = recollinit(flags, cleanup, sigcleanup, reason, &a_config);
if (config == 0 || !config->ok()) {
cerr << "Configuration problem: " << reason << endl;