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
116617c5
Commit
116617c5
authored
Feb 13, 2014
by
antirez
Browse files
Log when CONFIG REWRITE goes bad.
parent
767846dc
Changes
1
Show whitespace changes
Inline
Side-by-side
src/config.c
View file @
116617c5
...
...
@@ -1824,6 +1824,7 @@ void configCommand(redisClient *c) {
return
;
}
if
(
rewriteConfig
(
server
.
configfile
)
==
-
1
)
{
redisLog
(
REDIS_WARNING
,
"CONFIG REWRITE failed: %s"
,
strerror
(
errno
));
addReplyErrorFormat
(
c
,
"Rewriting config file: %s"
,
strerror
(
errno
));
}
else
{
addReply
(
c
,
shared
.
ok
);
...
...
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