mirror of https://github.com/redis/redis.git
Add missing fclose()
This commit is contained in:
parent
34a79c353f
commit
a8c08b9b76
|
|
@ -1807,6 +1807,7 @@ static void getRDB(void) {
|
|||
}
|
||||
close(s); /* Close the file descriptor ASAP as fsync() may take time. */
|
||||
fsync(fd);
|
||||
close(fd);
|
||||
fprintf(stderr,"Transfer finished with success.\n");
|
||||
exit(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue