summaryrefslogtreecommitdiff
path: root/src/sentinel.c
diff options
context:
space:
mode:
authorBonsai <LetBonsaiBe@gmail.com>2021-05-19 19:42:33 +0800
committerGitHub <noreply@github.com>2021-05-19 14:42:33 +0300
commit20268d04c0e09d4c086b936df7a8c6783906c9b5 (patch)
treea95ed0d390a7dd3b0e2596ff2e425c5e9c5de35d /src/sentinel.c
parent1bab4cd198ed306afd7ed2e5617ba649dff37977 (diff)
downloadredis-20268d04c0e09d4c086b936df7a8c6783906c9b5.tar.gz
Fix different reply on `SENTINEL SIMULATE-FAILURE help` command (#8962)
Diffstat (limited to 'src/sentinel.c')
-rw-r--r--src/sentinel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sentinel.c b/src/sentinel.c
index 6056696fc..bae0ad0ef 100644
--- a/src/sentinel.c
+++ b/src/sentinel.c
@@ -3860,6 +3860,7 @@ NULL
addReplyArrayLen(c,2);
addReplyBulkCString(c,"crash-after-election");
addReplyBulkCString(c,"crash-after-promotion");
+ return;
} else {
addReplyError(c,"Unknown failure simulation specified");
return;