提交 72f1715e 编写于 作者: A antirez

Fixed inverted if condition in MISCONF error code path.

上级 23f4e9f0
......@@ -2026,7 +2026,7 @@ int processCommand(redisClient *c) {
if (server.stop_writes_on_bgsave_err &&
server.saveparamslen > 0
&& server.lastbgsave_status == REDIS_ERR &&
server.masterhost != NULL &&
server.masterhost == NULL &&
(c->cmd->flags & REDIS_CMD_WRITE ||
c->cmd->proc == pingCommand))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册