]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
help.h update (adds bitop, bitcount, evalsha...)
[redis.git] / src / redis.c
index ddaa4a621ad5e8417f0552b590f5a1bf8471a5a8..463dc2aacba5420c0ad19807269e11c629cacf36 100644 (file)
@@ -2070,7 +2070,10 @@ sds genRedisInfoString(char *section) {
                     (long)server.unixtime-server.repl_down_since);
             }
             info = sdscatprintf(info,
-                "slave_priority:%d\r\n", server.slave_priority);
+                "slave_priority:%d\r\n"
+                "slave_read_only:%d\r\n",
+                server.slave_priority,
+                server.repl_slave_ro);
         }
         info = sdscatprintf(info,
             "connected_slaves:%lu\r\n",