]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
fixed bgsave_in_progress in INFO when BGSAVEing with diskstore enabled, don't DEBUG...
[redis.git] / src / redis.c
index 603b377faf3888c437cee2d62d2f7f2ee4b47e36..4f676a48054e36fe641a9ef45b96faadb4dc1a9a 100644 (file)
@@ -1221,7 +1221,7 @@ sds genRedisInfoString(void) {
         server.loading,
         server.appendonly,
         server.dirty,
-        server.bgsavechildpid != -1,
+        server.bgsavechildpid != -1 || server.bgsavethread != (pthread_t) -1,
         server.lastsave,
         server.bgrewritechildpid != -1,
         server.stat_numconnections,