summaryrefslogtreecommitdiff
path: root/src/cluster.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cluster.c')
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index e59cb52d5..4b13d36bc 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -3799,7 +3799,7 @@ void clusterCommand(redisClient *c) {
if (c->argc == 3) {
if (!strcasecmp(c->argv[2]->ptr,"hard")) {
hard = 1;
- } else if (!strcasecmp(c->argv[2]->ptr,"hard")) {
+ } else if (!strcasecmp(c->argv[2]->ptr,"soft")) {
hard = 0;
} else {
addReply(c,shared.syntaxerr);