Skip to content

Commit

Permalink
[FIX] add specific return value for incompatible indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
h-2 committed Nov 27, 2015
1 parent 2ee5eae commit b4e5c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ loadDbIndexFromDisk(TGlobalHolder & globalHolder,
<< " failed.\n"
<< "It appears you tried to open an old index (created before 0.9.0) which "
<< "is not supported. Please remove the old files and create a new index with lambda_indexer!\n";
return 1;
return 200;
}

int ret = open(globalHolder.dbIndex, path.c_str());
Expand Down

0 comments on commit b4e5c84

Please sign in to comment.