mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Log when CONFIG REWRITE goes bad.
This commit is contained in:
parent
f2bdf601be
commit
7e8abcf693
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user