Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-binbin committed Jan 18, 2024
1 parent 4b3dcbe commit 7c5f056
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redis-check-aof.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ int checkSingleAof(char *aof_filename, char *aof_filepath, int last_file, int fi
struct redis_stat sb;
if (redis_fstat(fileno(fp),&sb) == -1) {
printf("Cannot stat file: %s, aborting...\n", aof_filename);
fclose(fp);
exit(1);
}

Expand Down

0 comments on commit 7c5f056

Please sign in to comment.