mirror of
https://github.com/fluencelabs/redis
synced 2025-03-16 15:40:49 +00:00
Fixed inverted if condition in MISCONF error code path.
This commit is contained in:
parent
23f4e9f0d9
commit
72f1715e45
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user