mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
commit
202c2ebec4
@ -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