mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
redis-cli: fix #5096 double error message.
This commit is contained in:
parent
846203279c
commit
18d65849fd
@ -504,7 +504,7 @@ static void cliInitHelp(void) {
|
||||
* entries with additional entries obtained using the COMMAND command
|
||||
* available in recent versions of Redis. */
|
||||
static void cliIntegrateHelp(void) {
|
||||
if (cliConnect(0) == REDIS_ERR) return;
|
||||
if (cliConnect(CC_QUIET) == REDIS_ERR) return;
|
||||
|
||||
redisReply *reply = redisCommand(context, "COMMAND");
|
||||
if(reply == NULL || reply->type != REDIS_REPLY_ARRAY) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user