mirror of
https://github.com/fluencelabs/redis
synced 2025-04-25 10:32:14 +00:00
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. */
|
close(s); /* Close the file descriptor ASAP as fsync() may take time. */
|
||||||
fsync(fd);
|
fsync(fd);
|
||||||
|
close(fd);
|
||||||
fprintf(stderr,"Transfer finished with success.\n");
|
fprintf(stderr,"Transfer finished with success.\n");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user