Fixed fork/exec problem

This commit is contained in:
Madelyn Olson 2024-03-21 19:36:11 -07:00
parent 9a6721bd11
commit bd7387354a

View File

@ -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) {