]> git.saurik.com Git - redis.git/commitdiff
different message on BGREWRITEAOF when it is just scheduled and not started.
authorantirez <antirez@gmail.com>
Fri, 10 Jun 2011 16:35:16 +0000 (18:35 +0200)
committerantirez <antirez@gmail.com>
Fri, 10 Jun 2011 16:35:16 +0000 (18:35 +0200)
src/aof.c

index fd8ec7ab435ddec5fe3d472aee1d79b75b8e21df..030972699445f5187694f017e932117b975b1d5f 100644 (file)
--- a/src/aof.c
+++ b/src/aof.c
@@ -619,7 +619,7 @@ void bgrewriteaofCommand(redisClient *c) {
         addReplyError(c,"Background append only file rewriting already in progress");
     } else if (server.bgsavechildpid != -1) {
         server.aofrewrite_scheduled = 1;
         addReplyError(c,"Background append only file rewriting already in progress");
     } else if (server.bgsavechildpid != -1) {
         server.aofrewrite_scheduled = 1;
-        addReplyStatus(c,"Background append only file rewriting started");
+        addReplyStatus(c,"Background append only file rewriting scheduled");
     } else if (rewriteAppendOnlyFileBackground() == REDIS_OK) {
         addReplyStatus(c,"Background append only file rewriting started");
     } else {
     } else if (rewriteAppendOnlyFileBackground() == REDIS_OK) {
         addReplyStatus(c,"Background append only file rewriting started");
     } else {