mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 17:21:20 +00:00
For coverage testing use exit() instead of _exit() when termiating saving children.
This commit is contained in:
@ -686,7 +686,7 @@ int rdbSaveBackground(char *filename) {
|
||||
if (server.ipfd > 0) close(server.ipfd);
|
||||
if (server.sofd > 0) close(server.sofd);
|
||||
retval = rdbSave(filename);
|
||||
_exit((retval == REDIS_OK) ? 0 : 1);
|
||||
exitFromChild((retval == REDIS_OK) ? 0 : 1);
|
||||
} else {
|
||||
/* Parent */
|
||||
server.stat_fork_time = ustime()-start;
|
||||
|
Reference in New Issue
Block a user