mirror of https://mirror.osredm.com/root/redis.git
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…
Reference in New Issue