diff options
author | antirez <antirez@gmail.com> | 2014-02-13 14:32:44 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-02-13 14:32:44 +0100 |
commit | 7e8abcf6932120b5f9c8a7dadafbd5a8045c2bb6 (patch) | |
tree | 0f58fc5c4f72776ffd484eb3a2ad3a5bd45ca499 /src/config.c | |
parent | f2bdf601bee92972bad7493950a72391b9278606 (diff) | |
download | redis-7e8abcf6932120b5f9c8a7dadafbd5a8045c2bb6.tar.gz |
Log when CONFIG REWRITE goes bad.
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index a68e4f3e7..3e6b1561e 100644 --- a/src/config.c +++ b/src/config.c @@ -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); |