Skip to content

Commit

Permalink
check: try normal remove before force remove
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 4, 2017
1 parent 5d112cd commit 80570a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pgroonga-check.c
Expand Up @@ -96,7 +96,7 @@ PGrnCheckDatabaseDirectory(grn_ctx *ctx, const char *databaseDirectoryPath)
grn_db_recover(ctx, db);
if (ctx->rc != GRN_SUCCESS)
{
grn_obj_close(ctx, db);
grn_obj_remove(ctx, db);
PGrnRemoveAllRelatedFiles(databaseDirectoryPath);
return;
}
Expand Down

0 comments on commit 80570a1

Please sign in to comment.