mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
+ fix small bug in the new indexer
This commit is contained in:
parent
c370de2010
commit
bac4677edc
@ -107,14 +107,11 @@ int main(int argc, char **argv) {
|
||||
|
||||
/* Start the indexing */
|
||||
if (indexer != NULL) {
|
||||
/*
|
||||
indexer->start();
|
||||
while (indexer->isRunning()) {
|
||||
cout << "Checking if running..." << endl;
|
||||
sleep(1);
|
||||
}
|
||||
*/
|
||||
while (indexer->indexNextPercent(verboseFlag)) {};
|
||||
//while (indexer->indexNextPercent(verboseFlag)) {};
|
||||
delete indexer;
|
||||
} else {
|
||||
cerr << "Unable instanciate the Kiwix indexer." << endl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user