]> git.saurik.com Git - redis.git/blobdiff - src/redis-cli.c
missing return caused protocol desync in CLUSTER SETSLOT
[redis.git] / src / redis-cli.c
index 1b23c0b1fd851c844d768cdda551afa84aaa2454..b53a4c8239fa1247791d713bc74f09bd3ed35b72 100644 (file)
@@ -471,7 +471,10 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
     if (!strcasecmp(command,"info") ||
         (argc == 2 && !strcasecmp(command,"cluster") &&
                       (!strcasecmp(argv[1],"nodes") ||
-                       !strcasecmp(argv[1],"info"))))
+                       !strcasecmp(argv[1],"info"))) ||
+        (argc == 2 && !strcasecmp(command,"client") &&
+                       !strcasecmp(argv[1],"list")))
+
     {
         output_raw = 1;
     }