Skip to content

Commit b4e5c84

Browse files
committed
[FIX] add specific return value for incompatible indexes
1 parent 2ee5eae commit b4e5c84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lambda.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ loadDbIndexFromDisk(TGlobalHolder & globalHolder,
261261
<< " failed.\n"
262262
<< "It appears you tried to open an old index (created before 0.9.0) which "
263263
<< "is not supported. Please remove the old files and create a new index with lambda_indexer!\n";
264-
return 1;
264+
return 200;
265265
}
266266

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

0 commit comments

Comments
 (0)