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
7e8abcf6
Commit
7e8abcf6
authored
Feb 13, 2014
by
antirez
Browse files
Log when CONFIG REWRITE goes bad.
parent
f2bdf601
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
7e8abcf6
...
...
@@ -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