Skip to content

Commit

Permalink
Fixed fork/exec problem
Browse files Browse the repository at this point in the history
  • Loading branch information
madolson committed Mar 22, 2024
1 parent 9a6721b commit bd73873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -6995,9 +6995,9 @@ int main(int argc, char **argv) {
/* Check if we need to start in redis-check-rdb/aof mode. We just execute
* the program main. However the program is part of the Redis executable
* so that we can easily execute an RDB check on loading errors. */
if (strstr(exec_name,"redis-check-rdb") != NULL)
if (strstr(exec_name,"placeholderkv-check-rdb") != NULL)
redis_check_rdb_main(argc,argv,NULL);
else if (strstr(exec_name,"redis-check-aof") != NULL)
else if (strstr(exec_name,"placeholderkv-check-aof") != NULL)
redis_check_aof_main(argc,argv);

if (argc >= 2) {
Expand Down

0 comments on commit bd73873

Please sign in to comment.