mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Old form of CLIENT KILL should still allow suicide.
This commit is contained in:
parent
e21e0ba3dc
commit
46319094db
@ -1362,6 +1362,7 @@ void clientCommand(redisClient *c) {
|
||||
if (c->argc == 3) {
|
||||
/* Old style syntax: CLIENT KILL <addr> */
|
||||
addr = c->argv[2]->ptr;
|
||||
skipme = 0; /* With the old form, you can kill yourself. */
|
||||
} else if (c->argc > 3) {
|
||||
int i = 2; /* Next option index. */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user