Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
202c2ebe
Commit
202c2ebe
authored
Aug 03, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Aug 03, 2017
Browse files
Merge pull request #4191 from jybaek/unstable
Add missing fclose()
parents
34a79c35
a8c08b9b
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
202c2ebe
...
...
@@ -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);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment