diff --git a/src/replication.c b/src/replication.c index 26313893d..3c30999af 100644 --- a/src/replication.c +++ b/src/replication.c @@ -2041,7 +2041,8 @@ void replicaofCommand(client *c) { if (c->flags & CLIENT_SLAVE) { /* If a client is already a replica they cannot run this command, - * because it involves flushing all replicas (including this client) */ + * because it involves flushing all replicas (including this + * client) */ addReplyError(c, "Command is not valid when client is a replica."); return; }