3
0
Fork 0

+ small fixes in error messages

small_fixes
kelson42 13 years ago
parent 88d09e333a
commit a7397e73c3

@ -437,7 +437,7 @@ int main(int argc, char **argv) {
new kiwix::CluceneSearcher(indexPath);
indexType = kiwix::CLUCENE;
} catch (...) {
cerr << "Unable to open the search index '" << zimPath << "' neither with the Xapian nor with CLucene." << endl;
cerr << "Unable to open the search index '" << indexPath << "' neither with the Xapian nor with CLucene." << endl;
exit(1);
}
}
@ -490,7 +490,7 @@ int main(int argc, char **argv) {
}
hasSearchIndex = true;
} catch (...) {
cerr << "Unable to open the search index '" << zimPath << "'." << endl;
cerr << "Unable to open the search index '" << indexPath << "'." << endl;
}
if (hasSearchIndex) {

Loading…
Cancel
Save